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);