aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/gregtech')
-rw-r--r--src/main/java/gregtech/api/metatileentity/BaseMetaPipeEntity.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/gregtech/api/metatileentity/BaseMetaPipeEntity.java b/src/main/java/gregtech/api/metatileentity/BaseMetaPipeEntity.java
index 12530ce8cd..30a1561f20 100644
--- a/src/main/java/gregtech/api/metatileentity/BaseMetaPipeEntity.java
+++ b/src/main/java/gregtech/api/metatileentity/BaseMetaPipeEntity.java
@@ -1004,9 +1004,9 @@ public class BaseMetaPipeEntity extends CommonMetaTileEntity
if (!getCoverInfoAtSide(side).isGUIClickable()) return false;
try {
if (!aPlayer.isSneaking() && hasValidMetaTileEntity()) {
- mMetaTileEntity.onRightclick(this, aPlayer, side, aX, aY, aZ);// Always returns false?
+ boolean value = mMetaTileEntity.onRightclick(this, aPlayer, side, aX, aY, aZ);
mMetaTileEntity.markDirty();
- return true; // Play the animation
+ return value;
}
} catch (Throwable e) {
GT_FML_LOGGER.error("Encountered Exception while right clicking TileEntity", e);