Restrict usage of END_PORTAL_FRAME in BlockBlockUseEvent
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user