diff --git a/src/main/java/thedarkcolour/exdeorum/blockentity/BarrelBlockEntity.java b/src/main/java/thedarkcolour/exdeorum/blockentity/BarrelBlockEntity.java index 18cdf4d2..749c1004 100644 --- a/src/main/java/thedarkcolour/exdeorum/blockentity/BarrelBlockEntity.java +++ b/src/main/java/thedarkcolour/exdeorum/blockentity/BarrelBlockEntity.java @@ -75,7 +75,7 @@ public class BarrelBlockEntity extends EBlockEntity { public short compost; // compost colors public short r, g, b; - // used to avoid obsidian dupe + // Used to avoid triggering obsidian dupes in onContentsChanged, because Forge's FluidUtil actually modifies the tank for some reason private boolean isBeingFilledByPlayer; public BarrelBlockEntity(BlockPos pos, BlockState state) { diff --git a/src/main/java/thedarkcolour/exdeorum/menu/MechanicalSieveMenu.java b/src/main/java/thedarkcolour/exdeorum/menu/MechanicalSieveMenu.java index 056283cc..c78b20e4 100644 --- a/src/main/java/thedarkcolour/exdeorum/menu/MechanicalSieveMenu.java +++ b/src/main/java/thedarkcolour/exdeorum/menu/MechanicalSieveMenu.java @@ -122,7 +122,7 @@ public class MechanicalSieveMenu extends EContainerMenu { var clickedStack = slot.getItem(); stack = clickedStack.copy(); - if (clickedSlot > 1 && clickedSlot <= NUM_SLOTS) { // moving out of output slots + if (clickedSlot > 1 && clickedSlot < NUM_SLOTS) { // moving out of output slots if (!moveItemStackTo(clickedStack, NUM_SLOTS, PLAYER_SLOTS + NUM_SLOTS, true)) { return ItemStack.EMPTY; }