diff options
author | NotAPenguin <michiel.vandeginste@gmail.com> | 2024-09-12 07:35:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-12 05:35:55 +0000 |
commit | 4221744e308cf19cecf9e0d2b06769abe9d7e8e5 (patch) | |
tree | 3198ab9fe84e3e5ee38d37f3aec9daf36561c3b3 /src/main/java/gregtech/api/metatileentity | |
parent | 118be67d5375cc618016252f9aef9868cbf206c9 (diff) | |
download | GT5-Unofficial-4221744e308cf19cecf9e0d2b06769abe9d7e8e5.tar.gz GT5-Unofficial-4221744e308cf19cecf9e0d2b06769abe9d7e8e5.tar.bz2 GT5-Unofficial-4221744e308cf19cecf9e0d2b06769abe9d7e8e5.zip |
Fix final frame box issues (#3160)
Co-authored-by: BucketBrigade <138534411+CookieBrigade@users.noreply.github.com>
Diffstat (limited to 'src/main/java/gregtech/api/metatileentity')
-rw-r--r-- | src/main/java/gregtech/api/metatileentity/BaseMetaPipeEntity.java | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/main/java/gregtech/api/metatileentity/BaseMetaPipeEntity.java b/src/main/java/gregtech/api/metatileentity/BaseMetaPipeEntity.java index aae3ddcebb..56a63de65a 100644 --- a/src/main/java/gregtech/api/metatileentity/BaseMetaPipeEntity.java +++ b/src/main/java/gregtech/api/metatileentity/BaseMetaPipeEntity.java @@ -1000,16 +1000,12 @@ public class BaseMetaPipeEntity extends CommonMetaTileEntity if (getCoverInfoAtSide(side).onCoverRightClick(aPlayer, aX, aY, aZ)) return true; } - if (!getCoverInfoAtSide(side).isGUIClickable()) return false; - try { if (!aPlayer.isSneaking() && hasValidMetaTileEntity()) { - final boolean handled = mMetaTileEntity.onRightclick(this, aPlayer, side, aX, aY, aZ); - if (handled) { - mMetaTileEntity.markDirty(); - } - return handled; + mMetaTileEntity.onRightclick(this, aPlayer, side, aX, aY, aZ);// Always returns false? + mMetaTileEntity.markDirty(); + return true; // Play the animation } } catch (Throwable e) { GT_FML_LOGGER.error("Encountered Exception while right clicking TileEntity", e); |