t
This commit is contained in:
parent
dd8bc88494
commit
53729fc61c
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user