diff --git a/plugins/factorymod-paper/src/main/java/com/github/igotyou/FactoryMod/factories/FurnCraftChestFactory.java b/plugins/factorymod-paper/src/main/java/com/github/igotyou/FactoryMod/factories/FurnCraftChestFactory.java index b08ce51fa..ad04f2871 100644 --- a/plugins/factorymod-paper/src/main/java/com/github/igotyou/FactoryMod/factories/FurnCraftChestFactory.java +++ b/plugins/factorymod-paper/src/main/java/com/github/igotyou/FactoryMod/factories/FurnCraftChestFactory.java @@ -488,6 +488,12 @@ public class FurnCraftChestFactory extends Factory implements IIOFInventoryProvi @Override public void run() { if (active && mbs.isComplete()) { + Block f = getFurnace(); + if (!f.getWorld().isChunkLoaded(f.getLocation().getBlockX() >> 4, f.getLocation().getBlockZ() >> 4)) { + sendActivatorMessage(ChatColor.GOLD + name + " deactivated, because the chunk was unloaded"); + deactivate(); + return; + } // if the materials required to produce the current recipe are in // the factory inventory if (hasInputMaterials()) {