From b2cc6282200a9ee57f5800eed8c0e787a7d4e81b Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Sun, 9 Aug 2015 22:04:28 +0200 Subject: [PATCH] Fixed a Bug with the ESD only checking 5 sides (This has been happening since like 1238123 years, but no one noticed it for some reason. Or it's not a bug and I'm just not looking correctly. Who knows.) --- .../ellpeck/actuallyadditions/tile/TileEntityInputter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/ellpeck/actuallyadditions/tile/TileEntityInputter.java b/src/main/java/ellpeck/actuallyadditions/tile/TileEntityInputter.java index ffbb343f4..8a2dbf881 100644 --- a/src/main/java/ellpeck/actuallyadditions/tile/TileEntityInputter.java +++ b/src/main/java/ellpeck/actuallyadditions/tile/TileEntityInputter.java @@ -169,7 +169,7 @@ public class TileEntityInputter extends TileEntityInventoryBase implements IButt //Deal with ISided if(theSided != null){ //Check if Item can be inserted from any Side (Because Sidedness gets ignored!) - for(int j = 0; j < 5; j++){ + for(int j = 0; j <= 5; j++){ if(theSided.canExtractItem(i, tempStack, j)){ theStack = tempStack; theSlotToPull = i; @@ -242,7 +242,7 @@ public class TileEntityInputter extends TileEntityInventoryBase implements IButt } if(theInventory.isItemValidForSlot(i, this.slots[0]) && (tempStack == null || (tempStack.isItemEqual(this.slots[0]) && tempStack.stackSize < maxSize)) && this.checkBothFilters(this.slots[0])){ if(theSided != null){ - for(int j = 0; j < 5; j++){ + for(int j = 0; j <= 5; j++){ if(theSided.canInsertItem(i, this.slots[0], j)){ theStack = tempStack; theSlotToPut = i;