Fix inverted spawn egg check in BlockBlockUseEvent
This commit is contained in:
parent
e81d532178
commit
d6d7269fee
|
|
@ -67,7 +67,7 @@ public class BlockBlockUseEvent implements Listener {
|
|||
&& !type.equals(Material.SPAWNER)
|
||||
&& !type.equals(Material.BARRIER)
|
||||
&& !type.equals(Material.END_PORTAL_FRAME)
|
||||
&& MaterialTags.SPAWN_EGGS.isTagged(type);
|
||||
&& !MaterialTags.SPAWN_EGGS.isTagged(type);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user