diff options
author | Technus <daniel112092@gmail.com> | 2017-12-25 23:46:59 +0100 |
---|---|---|
committer | Technus <daniel112092@gmail.com> | 2017-12-25 23:46:59 +0100 |
commit | c89acf537d0b729f41147f8575016d96f53c6ee2 (patch) | |
tree | 63516ff118fef7c894d3d805b6ede7394a174c6a /src/main/java/gregtech/common/blocks/GT_Block_Machines.java | |
parent | 55df81600aca11e2d4334168049b7be48d2ed00a (diff) | |
download | GT5-Unofficial-c89acf537d0b729f41147f8575016d96f53c6ee2.tar.gz GT5-Unofficial-c89acf537d0b729f41147f8575016d96f53c6ee2.tar.bz2 GT5-Unofficial-c89acf537d0b729f41147f8575016d96f53c6ee2.zip |
Added missing overlays, made the passtrough of wire cutting/connectiong trough gt machine blocks work only if the player is isneaking. And because of that, added back the soldering iron support.
Diffstat (limited to 'src/main/java/gregtech/common/blocks/GT_Block_Machines.java')
-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 1c24ce4dac..8688fce78f 100644 --- a/src/main/java/gregtech/common/blocks/GT_Block_Machines.java +++ b/src/main/java/gregtech/common/blocks/GT_Block_Machines.java @@ -291,7 +291,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) && !GT_Utility.isStackInList(tCurrentItem, GregTech_API.sWrenchList)){
+ if(!GT_Utility.isStackInList(tCurrentItem, GregTech_API.sScrewdriverList) && !GT_Utility.isStackInList(tCurrentItem, GregTech_API.sWrenchList) && !GT_Utility.isStackInList(tCurrentItem, GregTech_API.sWireCutterList) && !GT_Utility.isStackInList(tCurrentItem, GregTech_API.sSolderingToolList)){
return false;
}
}else {return false;}
|