Core/Commands: Print phase info even if its a summoned npc

This commit is contained in:
hondacrx
2018-06-16 18:07:31 -04:00
parent b3e8e4f05f
commit 4aa7d7be6d
+2 -3
View File
@@ -85,10 +85,9 @@ namespace Game.Chat
CreatureData data = Global.ObjectMgr.GetCreatureData(target.GetSpawnId());
if (data != null)
{
handler.SendSysMessage(CypherStrings.NpcinfoPhases, data.phaseId, data.phaseGroup);
PhasingHandler.PrintToChat(handler, target.GetPhaseShift());
}
PhasingHandler.PrintToChat(handler, target.GetPhaseShift());
handler.SendSysMessage(CypherStrings.NpcinfoArmor, target.GetArmor());
handler.SendSysMessage(CypherStrings.NpcinfoPosition, target.GetPositionX(), target.GetPositionY(), target.GetPositionZ());