From 53729fc61c1c159a8ff3812fb6269e81ea7d458c Mon Sep 17 00:00:00 2001 From: Trixkz Date: Mon, 29 Nov 2021 06:32:00 -0500 Subject: [PATCH] t --- src/main/java/rip/tilly/bedwars/listeners/InteractListener.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/rip/tilly/bedwars/listeners/InteractListener.java b/src/main/java/rip/tilly/bedwars/listeners/InteractListener.java index 00c7eee..489a3d6 100644 --- a/src/main/java/rip/tilly/bedwars/listeners/InteractListener.java +++ b/src/main/java/rip/tilly/bedwars/listeners/InteractListener.java @@ -171,8 +171,6 @@ public class InteractListener implements Listener { @EventHandler public void onEntityDamage(EntityDamageEvent event) { - Player player = (Player) event.getEntity(); - if (event.getEntityType() == EntityType.VILLAGER) { event.setCancelled(true);