Use of isDeathKnight method for EnterWorld check.

This commit is contained in:
MobiusDevelopment 2020-12-16 22:49:11 +00:00
parent 7b21017f72
commit c12d501a28

View File

@ -649,7 +649,7 @@ public class EnterWorld implements IClientIncomingPacket
}
// Death Knight death points init.
if (player.getClassId().getId() > 195)
if (player.isDeathKnight())
{
// Send twice.
player.setDeathPoints(500);