Some clean-up

This commit is contained in:
Toshayo 2023-06-21 22:45:55 +02:00
parent 7d8ee8ce24
commit 71814dae87
No known key found for this signature in database
GPG Key ID: 7DC46644B561B1B4
3 changed files with 3 additions and 10 deletions

View File

@ -19,6 +19,6 @@ public interface IDoor {
CLOSED,
OPEN,
CLOSING,
OPENING;
OPENING
}
}

View File

@ -420,6 +420,4 @@ public abstract class DoorDecl {
f[2] = z;
return f;
}
;
}

View File

@ -54,9 +54,7 @@ public class TileEntityDoorGeneric extends TileEntityLockableBase implements IAn
}
}
if(worldObj.isRemote) {
} else {
if(!worldObj.isRemote) {
BlockPos pos = new BlockPos(this);
@ -284,10 +282,7 @@ public class TileEntityDoorGeneric extends TileEntityLockableBase implements IAn
//Ah yes piggy backing on this packet
@Override
public void setTextureState(byte tex){
if(tex > 0)
shouldUseBB = true;
else
shouldUseBB = false;
shouldUseBB = tex > 0;
}
public int getSkinIndex() {