mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 10:26:28 +01:00
Core/Player: Prevent a crash in CastedCreatureOrGO and add an assertion to KilledMonster
This commit is contained in:
@@ -1033,7 +1033,7 @@ public:
|
||||
found = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (!found)
|
||||
handler->SendSysMessage(LANG_COMMAND_NOSPELLFOUND);
|
||||
|
||||
|
||||
@@ -153,13 +153,13 @@ enum Texts
|
||||
SAY_KILLED_PLAYER_P_THREE = 12,
|
||||
SAY_SPELL_CASTING_P_THREE = 13,
|
||||
SAY_DEATH,
|
||||
|
||||
|
||||
// Alexstrasza
|
||||
SAY_ONE = 0,
|
||||
SAY_TWO = 1,
|
||||
SAY_THREE = 2,
|
||||
SAY_FOUR = 3,
|
||||
|
||||
|
||||
// Power Sparks
|
||||
EMOTE_POWER_SPARK_SUMMONED = 0
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user