diff --git a/src/main/java/de/zoeyvid/stacker/Listener/EntityDamageListener.java b/src/main/java/de/zoeyvid/stacker/Listener/EntityDamageListener.java index 8283838..93d2572 100644 --- a/src/main/java/de/zoeyvid/stacker/Listener/EntityDamageListener.java +++ b/src/main/java/de/zoeyvid/stacker/Listener/EntityDamageListener.java @@ -12,7 +12,7 @@ public class EntityDamageListener implements Listener { @EventHandler public void onEntityDamage(EntityDamageEvent event) { - if(!loadConfig.throwfalldamage()) return; + if(loadConfig.throwfalldamage()) return; if(!(event.getEntity() instanceof Player)) return; Player player = (Player) event.getEntity(); if(main.getThrown().contains(player) && event.getCause() == DamageCause.FALL) {