mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 03:39:17 +00:00
This commit is contained in:
1 parent
4844c5009b
commit
18ab523c91
1 file changed
+1
-1
@@ -306,7 +306,7 @@ public class ItemCraftingHalo extends ItemMod {
|
||||
|
||||
@SubscribeEvent
|
||||
public void onItemCrafted(ItemCraftedEvent event) {
|
||||
if(!(event.player.openContainer instanceof ContainerCraftingHalo))
|
||||
if(!(event.player.openContainer instanceof ContainerCraftingHalo) || !(event.craftMatrix instanceof InventoryCrafting))
|
||||
return;
|
||||
|
||||
for(int i = 0; i < event.player.inventory.getSizeInventory(); i++) {
|
||||
|
||||
Reference in new issue
Block a user