diff --git a/src/SlapperRotation/Main.php b/src/SlapperRotation/Main.php index aeea9f9..1f0c120 100644 --- a/src/SlapperRotation/Main.php +++ b/src/SlapperRotation/Main.php @@ -29,6 +29,9 @@ public function onPlayerMove(PlayerMoveEvent $ev) { if($e instanceof Player) { continue; } + if(!($e instanceof SlapperEntity)){ + continue; + } if(substr($e->getSaveId(), 0, 7) !== "Slapper") { continue; }