Restrict usage of END_PORTAL_FRAME in BlockBlockUseEvent

This commit is contained in:
akastijn 2025-07-17 00:04:11 +02:00
parent c016db5969
commit e81d532178

View File

@ -66,6 +66,7 @@ public class BlockBlockUseEvent implements Listener {
return !type.equals(Material.BEDROCK)
&& !type.equals(Material.SPAWNER)
&& !type.equals(Material.BARRIER)
&& !type.equals(Material.END_PORTAL_FRAME)
&& MaterialTags.SPAWN_EGGS.isTagged(type);
}