diff options
| author | Blood-Asp <bloodasphendrik@gmail.com> | 2016-10-21 20:12:23 +0200 |
|---|---|---|
| committer | Technus <daniel112092@gmail.com> | 2016-10-23 11:06:16 +0200 |
| commit | ab1d48931d199b5a2926253033198772bbd941bb (patch) | |
| tree | 20a09014169612204637e5459c1a9833564e8cf9 /src/main/java/gregtech/common | |
| parent | f999e31b5abf3174964a83d5afa84bf371efded0 (diff) | |
| download | GT5-Unofficial-ab1d48931d199b5a2926253033198772bbd941bb.tar.gz GT5-Unofficial-ab1d48931d199b5a2926253033198772bbd941bb.tar.bz2 GT5-Unofficial-ab1d48931d199b5a2926253033198772bbd941bb.zip | |
Make machines rotatable with shift rightclick with wrench BloodASP
Diffstat (limited to 'src/main/java/gregtech/common')
| -rw-r--r-- | src/main/java/gregtech/common/blocks/GT_Block_Machines.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/gregtech/common/blocks/GT_Block_Machines.java b/src/main/java/gregtech/common/blocks/GT_Block_Machines.java index 1ab5b2c500..abc6dad06e 100644 --- a/src/main/java/gregtech/common/blocks/GT_Block_Machines.java +++ b/src/main/java/gregtech/common/blocks/GT_Block_Machines.java @@ -259,7 +259,7 @@ public class GT_Block_Machines if(aPlayer.isSneaking()){ ItemStack tCurrentItem = aPlayer.inventory.getCurrentItem(); if(tCurrentItem!=null){ - if(!GT_Utility.isStackInList(tCurrentItem, GregTech_API.sScrewdriverList)){ + if(!GT_Utility.isStackInList(tCurrentItem, GregTech_API.sScrewdriverList) && !GT_Utility.isStackInList(tCurrentItem, GregTech_API.sWrenchList)){ return false; } }else {return false;} |
