It's getting late
This commit is contained in:
1 parent
10a7b29b4d
commit
046a471da2
1 file changed
+1
-1
@@ -14504,7 +14504,7 @@ void Unit::BuildValuesUpdate(uint8 updateType, ByteBuffer* data, Player* target)
|
||||
if (!target->CanSeeSpellClickOn(creature))
|
||||
appendValue &= ~UNIT_NPC_FLAG_SPELLCLICK;
|
||||
|
||||
if (!creature->IsClassTrainerOf(target->ToPlayer()))
|
||||
if (!creature->IsClassTrainerOf(target))
|
||||
appendValue &= ~UNIT_NPC_FLAG_TRAINER_CLASS;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user