Map Templar/Templer to the new class icon

Completes the class icon set now that Templar_ICO.png was added.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Maaxxs 2026-09-18 13:05:48 +02:00
parent 2a73e0e473
commit 9ac5a7c97e
2 changed files with 3 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

View file

@ -80,7 +80,7 @@ function icon(string $name): string
// Ordnet die (teils deutschen) Klassennamen aus dem Raid-Bot den Icon-Dateien
// unter assets/images/Classes zu. Gibt null zurück, wenn keine passende
// Datei existiert (z.B. bei "Templer" oder "Ausstehend").
// Datei existiert (z.B. bei "Ausstehend").
function class_icon_url(string $className): ?string
{
static $map = [
@ -99,6 +99,8 @@ function class_icon_url(string $className): ?string
'magier' => 'Sorcerer_ICO.png',
'spiritmaster' => 'Spiritmaster_ICO.png',
'geisterbeschwörer' => 'Spiritmaster_ICO.png',
'templar' => 'Templar_ICO.png',
'templer' => 'Templar_ICO.png',
];
$key = mb_strtolower(trim($className), 'UTF-8');