diff --git a/src/de/steamwar/spectatesystem/listener/PlayerSeatListener.java b/src/de/steamwar/spectatesystem/listener/PlayerSeatListener.java index cf30126..d64500b 100644 --- a/src/de/steamwar/spectatesystem/listener/PlayerSeatListener.java +++ b/src/de/steamwar/spectatesystem/listener/PlayerSeatListener.java @@ -57,7 +57,7 @@ public class PlayerSeatListener extends BasicListener { @EventHandler public void onEntityDismount(EntityDismountEvent event) { - if(event.getEntity().getType() != EntityType.ARROW) + if(event.getDismounted().getType() != EntityType.ARROW) return; if(event.getEntityType() != EntityType.PLAYER)