From c625b5484c69ac3f91743332047fb5e64c0ddeae Mon Sep 17 00:00:00 2001 From: CovertJaguar Date: Sat, 24 Aug 2013 17:26:38 -0700 Subject: [PATCH] Add Chests to rotations requiring sneaking --- common/buildcraft/core/ItemWrench.java | 2 ++ common/buildcraft/factory/BlockTank.java | 1 + 2 files changed, 3 insertions(+) diff --git a/common/buildcraft/core/ItemWrench.java b/common/buildcraft/core/ItemWrench.java index b4427ae2..da8c2747 100644 --- a/common/buildcraft/core/ItemWrench.java +++ b/common/buildcraft/core/ItemWrench.java @@ -5,6 +5,7 @@ import java.util.HashSet; import java.util.Set; import net.minecraft.block.Block; import net.minecraft.block.BlockButton; +import net.minecraft.block.BlockChest; import net.minecraft.block.BlockLever; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.ItemStack; @@ -20,6 +21,7 @@ public class ItemWrench extends ItemBuildCraft implements IToolWrench { setFull3D(); shiftRotations.add(BlockLever.class); shiftRotations.add(BlockButton.class); + shiftRotations.add(BlockChest.class); } private boolean isShiftRotation(Class cls) { diff --git a/common/buildcraft/factory/BlockTank.java b/common/buildcraft/factory/BlockTank.java index ad1266e7..a23256cc 100644 --- a/common/buildcraft/factory/BlockTank.java +++ b/common/buildcraft/factory/BlockTank.java @@ -71,6 +71,7 @@ public class BlockTank extends BlockContainer { } @SuppressWarnings({"all"}) + @Override public Icon getBlockTexture(IBlockAccess iblockaccess, int i, int j, int k, int l) { switch (l) { case 0: