Fix inverted spawn egg check in BlockBlockUseEvent

This commit is contained in:
akastijn 2025-07-17 23:12:47 +02:00
parent e81d532178
commit d6d7269fee

View File

@ -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);
}
}