aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api
diff options
context:
space:
mode:
authorDaniel <daniel112092@gmail.com>2017-08-04 23:02:16 +0200
committerGitHub <noreply@github.com>2017-08-04 23:02:16 +0200
commitc9ea7f7727be3ebd7714283626f00cb0ab529b1b (patch)
treec5e2d4e6c19577bb80d6f920a55ed6b14746aeb4 /src/main/java/gregtech/api
parentfc08b67f7d973d1b83d2027102ec385b29bfba89 (diff)
downloadGT5-Unofficial-c9ea7f7727be3ebd7714283626f00cb0ab529b1b.tar.gz
GT5-Unofficial-c9ea7f7727be3ebd7714283626f00cb0ab529b1b.tar.bz2
GT5-Unofficial-c9ea7f7727be3ebd7714283626f00cb0ab529b1b.zip
Update commentary
Diffstat (limited to 'src/main/java/gregtech/api')
-rw-r--r--src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Hatch.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Hatch.java b/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Hatch.java
index 184e612906..9695e71cb9 100644
--- a/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Hatch.java
+++ b/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Hatch.java
@@ -66,7 +66,7 @@ public abstract class GT_MetaTileEntity_Hatch extends GT_MetaTileEntity_BasicTan
mTexturePage=aNBT.getByte("mTexturePage");
if(mTexturePage!=0 && getBaseMetaTileEntity().isServerSide())
- actualTexture|=0x80;//<- lets just hope no one needs the correct value for that in client
+ actualTexture|=0x80;//<- lets just hope no one needs the correct value for that on server
mMachineBlock=actualTexture;
}
@@ -95,7 +95,7 @@ public abstract class GT_MetaTileEntity_Hatch extends GT_MetaTileEntity_BasicTan
public final void onTexturePageUpdate(byte aValue) {
mTexturePage = (byte)(aValue & 0x7F);
if(mTexturePage!=0 && getBaseMetaTileEntity().isServerSide()) {//just to be sure
- mMachineBlock|=0x80;//<- lets just hope no one needs the correct value for that in client
+ mMachineBlock|=0x80;//<- lets just hope no one needs the correct value for that on server
actualTexture=mMachineBlock;
}
//set last bit to allow working of the page reset-er to 0 in rare case when texture id is the same but page changes to 0