diff --git a/src/com/jaquadro/minecraft/storagedrawers/block/tile/TileEntityController.java b/src/com/jaquadro/minecraft/storagedrawers/block/tile/TileEntityController.java index f79b3de45..e15c31ece 100644 --- a/src/com/jaquadro/minecraft/storagedrawers/block/tile/TileEntityController.java +++ b/src/com/jaquadro/minecraft/storagedrawers/block/tile/TileEntityController.java @@ -57,7 +57,7 @@ public SlotRecord (BlockCoord coord, int slot) { private List drawerSlotList = new ArrayList(); private int[] inventorySlots = new int[0]; - private int[] autoSides = new int[] { 0, 1 }; + private int[] autoSides = new int[] { 0, 1, 2, 3, 4, 5 }; private int direction; private int drawerSize = 0; @@ -76,13 +76,6 @@ public int getDirection () { public void setDirection (int direction) { this.direction = direction % 6; - - autoSides = new int[] { 0, 1, ForgeDirection.OPPOSITES[direction], 2, 3 }; - - if (direction == 2 || direction == 3) { - autoSides[3] = 4; - autoSides[4] = 5; - } } public int interactPutItemsIntoInventory (EntityPlayer player) { diff --git a/src/com/jaquadro/minecraft/storagedrawers/block/tile/TileEntityDrawers.java b/src/com/jaquadro/minecraft/storagedrawers/block/tile/TileEntityDrawers.java index b7ea8f7d2..da7644945 100644 --- a/src/com/jaquadro/minecraft/storagedrawers/block/tile/TileEntityDrawers.java +++ b/src/com/jaquadro/minecraft/storagedrawers/block/tile/TileEntityDrawers.java @@ -33,7 +33,7 @@ public abstract class TileEntityDrawers extends TileEntity implements IDrawerGro private IDrawer[] drawers; private IDrawerInventory inventory; - private int[] autoSides = new int[] { 0, 1 }; + private int[] autoSides = new int[] { 0, 1, 2, 3, 4, 5 }; private int direction; private int drawerCapacity = 1; @@ -71,13 +71,6 @@ public int getDirection () { public void setDirection (int direction) { this.direction = direction % 6; - - autoSides = new int[] { 0, 1, ForgeDirection.OPPOSITES[direction], 2, 3 }; - - if (direction == 2 || direction == 3) { - autoSides[3] = 4; - autoSides[4] = 5; - } } public int getStorageLevel () {