@@ -958,6 +958,7 @@ public class EntityEventHandler implements Listener
|
||||
|
||||
//if the damaged entity is a claimed item frame or armor stand, the damager needs to be a player with build trust in the claim
|
||||
if (subEvent.getEntityType() == EntityType.ITEM_FRAME
|
||||
|| subEvent.getEntityType() == EntityType.GLOW_ITEM_FRAME
|
||||
|| subEvent.getEntityType() == EntityType.ARMOR_STAND
|
||||
|| subEvent.getEntityType() == EntityType.VILLAGER
|
||||
|| subEvent.getEntityType() == EntityType.ENDER_CRYSTAL)
|
||||
|
||||
@@ -1969,6 +1969,7 @@ class PlayerEventHandler implements Listener
|
||||
materialInHand == Material.TNT_MINECART ||
|
||||
materialInHand == Material.ARMOR_STAND ||
|
||||
materialInHand == Material.ITEM_FRAME ||
|
||||
materialInHand == Material.GLOW_ITEM_FRAME ||
|
||||
spawn_eggs.contains(materialInHand) ||
|
||||
materialInHand == Material.INFESTED_STONE ||
|
||||
materialInHand == Material.INFESTED_COBBLESTONE ||
|
||||
|
||||
Reference in New Issue
Block a user