patience wizard

This commit is contained in:
hyperdefined
2024-12-15 18:31:38 -05:00
parent aeaeee680b
commit 6b263be041

View File

@@ -161,8 +161,8 @@ public class EntityDamage implements Listener {
} }
// ignore void and /kill damage // ignore void and /kill damage
String cause = event.getCause().toString().toUpperCase(); EntityDamageEvent.DamageCause cause = event.getCause();
if (ignoredDamageCauses.contains(cause)) { if (ignoredCauses.contains(cause)) {
return; return;
} }
@@ -189,8 +189,8 @@ public class EntityDamage implements Listener {
} }
// ignore void and /kill damage // ignore void and /kill damage
String cause = event.getCause().toString().toUpperCase(); EntityDamageEvent.DamageCause cause = event.getCause();
if (ignoredDamageCauses.contains(cause)) { if (ignoredCauses.contains(cause)) {
return; return;
} }