From dd3d77e85a647323e5e958cbdf8904fe7488fe7f Mon Sep 17 00:00:00 2001 From: jameslfc19 Date: Mon, 27 Jul 2020 00:42:39 +0100 Subject: [PATCH] Update VirtualCraftingHolder.java AutoCrafting was only happening in unloaded chunks!! oops. --- .../minecraft/chests/interfaces/VirtualCraftingHolder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ChestsPlusPlus_Main/src/main/java/com/jamesdpeters/minecraft/chests/interfaces/VirtualCraftingHolder.java b/ChestsPlusPlus_Main/src/main/java/com/jamesdpeters/minecraft/chests/interfaces/VirtualCraftingHolder.java index adba61d..572bcb7 100644 --- a/ChestsPlusPlus_Main/src/main/java/com/jamesdpeters/minecraft/chests/interfaces/VirtualCraftingHolder.java +++ b/ChestsPlusPlus_Main/src/main/java/com/jamesdpeters/minecraft/chests/interfaces/VirtualCraftingHolder.java @@ -210,7 +210,7 @@ public class VirtualCraftingHolder implements InventoryHolder { */ public void craftItem(){ for(LocationInfo location : storage.getLocations()){ - if(Utils.isLocationChunkLoaded(location.getLocation())) continue; + if(!Utils.isLocationChunkLoaded(location.getLocation())) continue; Block block = location.getLocation().getBlock(); Block blockBelow = block.getRelative(BlockFace.DOWN); Block blockAbove = block.getRelative(BlockFace.UP);