aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/core/block/machine
diff options
context:
space:
mode:
authorAlkalus <draknyte1@hotmail.com>2017-07-18 10:38:32 +1000
committerAlkalus <draknyte1@hotmail.com>2017-07-18 10:38:32 +1000
commitd27fbf6e99361cd5332fd80f9cbee5993efc7411 (patch)
tree6011630d37ca1b6e15f0c69264569abe3b198a38 /src/Java/gtPlusPlus/core/block/machine
parent8c102df59748f60f1f5b64b9393e62b7e103b489 (diff)
downloadGT5-Unofficial-d27fbf6e99361cd5332fd80f9cbee5993efc7411.tar.gz
GT5-Unofficial-d27fbf6e99361cd5332fd80f9cbee5993efc7411.tar.bz2
GT5-Unofficial-d27fbf6e99361cd5332fd80f9cbee5993efc7411.zip
$ Fixes #100.
$ Fixes CI not handling OrePrefix names correctly. (Actually forgot to return the item at all) - Removes logging regarding generated pipes. % Changed recipe load position for Simple Washer. % Changed the cost of Multiblock controllers.
Diffstat (limited to 'src/Java/gtPlusPlus/core/block/machine')
-rw-r--r--src/Java/gtPlusPlus/core/block/machine/Machine_WorkbenchAdvanced.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Java/gtPlusPlus/core/block/machine/Machine_WorkbenchAdvanced.java b/src/Java/gtPlusPlus/core/block/machine/Machine_WorkbenchAdvanced.java
index 436fc5bf39..2e647a1a26 100644
--- a/src/Java/gtPlusPlus/core/block/machine/Machine_WorkbenchAdvanced.java
+++ b/src/Java/gtPlusPlus/core/block/machine/Machine_WorkbenchAdvanced.java
@@ -68,7 +68,7 @@ public class Machine_WorkbenchAdvanced extends BlockContainer
public boolean onBlockActivated(final World world, final int x, final int y, final int z, final EntityPlayer player, final int side, final float lx, final float ly, final float lz)
{
- final ItemStack heldItem = PlayerUtils.getItemStackInPlayersHand(player);
+ /*final ItemStack heldItem = PlayerUtils.getItemStackInPlayersHand(player);
if (world.isRemote) {
return true;
}
@@ -81,15 +81,15 @@ public class Machine_WorkbenchAdvanced extends BlockContainer
else if (heldItem.getItem() instanceof IToolWrench){
holdingWrench = true;
}
- /*else if (heldItem.getItem() instanceof ITool){
+ else if (heldItem.getItem() instanceof ITool){
holdingWrench = true;
- }*/
- /*else if (heldItem.getItem() instanceof GT_MetaGenerated_Tool){
+ }
+ else if (heldItem.getItem() instanceof GT_MetaGenerated_Tool){
GT_MetaGenerated_Tool testTool = (GT_MetaGenerated_Tool) heldItem.getItem();
if (testTool.canWrench(player, x, y, z)){
holdingWrench = true;
}
- }*/
+ }
else {
holdingWrench = false;
}
@@ -104,7 +104,7 @@ public class Machine_WorkbenchAdvanced extends BlockContainer
return true;
}
Utils.LOG_INFO("Holding a Wrench, doing wrench things instead.");
- }
+ }*/
return false;
}