Avoid misconfigured or heroic opportunities persisting past zone if they somehow get applied to a player
This commit is contained in:
parent
2afc0b8e92
commit
c8d199139f
@ -8017,6 +8017,10 @@ void WorldDatabase::LoadCharacterSpellEffects(int32 char_id, Client* client, int
|
|||||||
else
|
else
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
else if(!icon) {
|
||||||
|
LogWrite(LUA__WARNING, 0, "LUA", "WorldDatabase::LoadCharacterSpellEffects: GetSpell(%u, %u), no icon set, this must be a heroic opportunity or incorrectly configured spell!", spell_id, tier);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
bool isMaintained = false;
|
bool isMaintained = false;
|
||||||
bool isExistingLuaSpell = false;
|
bool isExistingLuaSpell = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user