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