diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/region/NoGravityListener.java b/BauSystem_Main/src/de/steamwar/bausystem/features/region/NoGravityListener.java index e52591dc..f86403f9 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/region/NoGravityListener.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/region/NoGravityListener.java @@ -40,7 +40,7 @@ public class NoGravityListener implements Listener, ScoreboardElement { @EventHandler public void onEntitySpawn(EntitySpawnEvent event) { - if (event.getEntityType() != EntityType.PLAYER) return; + if (event.getEntityType() == EntityType.PLAYER) return; if (getMode(Region.getRegion(event.getLocation())) == NoGravityMode.ACTIVE) { event.getEntity().setGravity(false); }