If only the client was there it could be told the zone wasn't ready..
This commit is contained in:
parent
119d228b8c
commit
0bad6569cb
1 changed files with 3 additions and 1 deletions
|
@ -1731,7 +1731,9 @@ bool SpellProcess::CastProcessedSpell(LuaSpell* spell, bool passive, bool in_her
|
|||
target = spell->caster;
|
||||
}
|
||||
if (!target) {
|
||||
client->SimpleMessage(CHANNEL_COLOR_YELLOW, "Zone has not finished loading process yet. Try again later.");
|
||||
if(client) {
|
||||
client->SimpleMessage(CHANNEL_COLOR_YELLOW, "Zone has not finished loading process yet. Try again later.");
|
||||
}
|
||||
continue;
|
||||
}
|
||||
if (i == 0 && !spell->spell->GetSpellData()->not_maintained) {
|
||||
|
|
Loading…
Reference in a new issue