Use of isDeathKnight method for EnterWorld check.
This commit is contained in:
parent
7b21017f72
commit
c12d501a28
@ -649,7 +649,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Death Knight death points init.
|
// Death Knight death points init.
|
||||||
if (player.getClassId().getId() > 195)
|
if (player.isDeathKnight())
|
||||||
{
|
{
|
||||||
// Send twice.
|
// Send twice.
|
||||||
player.setDeathPoints(500);
|
player.setDeathPoints(500);
|
||||||
|
Loading…
Reference in New Issue
Block a user