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