From c9ea7f7727be3ebd7714283626f00cb0ab529b1b Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 4 Aug 2017 23:02:16 +0200 Subject: Update commentary --- .../api/metatileentity/implementations/GT_MetaTileEntity_Hatch.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/gregtech/api') 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 -- cgit