diff --git a/src/main/java/mekanism/common/inventory/container/ContainerMetallurgicInfuser.java b/src/main/java/mekanism/common/inventory/container/ContainerMetallurgicInfuser.java index 141abba2d..036d745c9 100644 --- a/src/main/java/mekanism/common/inventory/container/ContainerMetallurgicInfuser.java +++ b/src/main/java/mekanism/common/inventory/container/ContainerMetallurgicInfuser.java @@ -75,7 +75,7 @@ public class ContainerMetallurgicInfuser extends Container { if(InfuseRegistry.getObject(slotStack) != null && (tileEntity.infuseStored.type == null || tileEntity.infuseStored.type == InfuseRegistry.getObject(slotStack).type)) { - if(!mergeItemStack(slotStack, 1, 2, false)) + if(!mergeItemStack(slotStack, 0, 1, false)) { return null; } @@ -89,7 +89,7 @@ public class ContainerMetallurgicInfuser extends Container } else if(isInputItem(slotStack)) { - if(!mergeItemStack(slotStack, 2, 3, false)) + if(!mergeItemStack(slotStack, 1, 2, false)) { return null; } diff --git a/src/main/java/mekanism/common/multiblock/UpdateProtocol.java b/src/main/java/mekanism/common/multiblock/UpdateProtocol.java index d1587b67d..55ef70374 100644 --- a/src/main/java/mekanism/common/multiblock/UpdateProtocol.java +++ b/src/main/java/mekanism/common/multiblock/UpdateProtocol.java @@ -200,13 +200,17 @@ public abstract class UpdateProtocol> if(structure.locations.contains(Coord4D.get(pointer)) && isCorrectCorner(Coord4D.get(tile), origX+xmin, origY+ymin, origZ+zmin)) { - structureFound = structure; - return; + if(isInteriorValid(structure)) + { + structureFound = structure; + return; + } } } } } + innerNodes.clear(); iteratedNodes.add(tile); for(ForgeDirection side : ForgeDirection.VALID_DIRECTIONS) @@ -222,6 +226,11 @@ public abstract class UpdateProtocol> } } } + + public boolean isInteriorValid(T structure) + { + return true; + } public ForgeDirection getSide(Coord4D obj, int xmin, int xmax, int ymin, int ymax, int zmin, int zmax) {