aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api
diff options
context:
space:
mode:
authorDaniel <daniel112092@gmail.com>2017-08-04 23:02:16 +0200
committerTechnus <daniel112092@gmail.com>2017-08-04 23:03:02 +0200
commit694435ca0ff4e82bd0ec139ef9fcd4464210d648 (patch)
tree870891d091f5e87f3c344ac42699155bea082af5 /src/main/java/gregtech/api
parent77338cee5dbd44ef47d4e51d9870f88214e8c7e4 (diff)
downloadGT5-Unofficial-694435ca0ff4e82bd0ec139ef9fcd4464210d648.tar.gz
GT5-Unofficial-694435ca0ff4e82bd0ec139ef9fcd4464210d648.tar.bz2
GT5-Unofficial-694435ca0ff4e82bd0ec139ef9fcd4464210d648.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