More Type Security

This commit is contained in:
Olof Larsson
2015-05-16 14:30:49 +02:00
parent a9b80dacfe
commit b244ff63c7
11 changed files with 49 additions and 31 deletions

View File

@@ -50,7 +50,7 @@ public class TaskPlayerPowerUpdate extends ModuloRepeatTask
for (Player player : MUtil.getOnlinePlayers())
{
if (MUtil.isNpc(player)) continue;
if (MUtil.isntPlayer(player)) continue;
if (player.isDead()) continue;
MPlayer mplayer = MPlayer.get(player);