mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
Some clean-up
This commit is contained in:
parent
7d8ee8ce24
commit
71814dae87
@ -19,6 +19,6 @@ public interface IDoor {
|
|||||||
CLOSED,
|
CLOSED,
|
||||||
OPEN,
|
OPEN,
|
||||||
CLOSING,
|
CLOSING,
|
||||||
OPENING;
|
OPENING
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -420,6 +420,4 @@ public abstract class DoorDecl {
|
|||||||
f[2] = z;
|
f[2] = z;
|
||||||
return f;
|
return f;
|
||||||
}
|
}
|
||||||
|
|
||||||
;
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -54,9 +54,7 @@ public class TileEntityDoorGeneric extends TileEntityLockableBase implements IAn
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(worldObj.isRemote) {
|
if(!worldObj.isRemote) {
|
||||||
|
|
||||||
} else {
|
|
||||||
|
|
||||||
BlockPos pos = new BlockPos(this);
|
BlockPos pos = new BlockPos(this);
|
||||||
|
|
||||||
@ -284,10 +282,7 @@ public class TileEntityDoorGeneric extends TileEntityLockableBase implements IAn
|
|||||||
//Ah yes piggy backing on this packet
|
//Ah yes piggy backing on this packet
|
||||||
@Override
|
@Override
|
||||||
public void setTextureState(byte tex){
|
public void setTextureState(byte tex){
|
||||||
if(tex > 0)
|
shouldUseBB = tex > 0;
|
||||||
shouldUseBB = true;
|
|
||||||
else
|
|
||||||
shouldUseBB = false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getSkinIndex() {
|
public int getSkinIndex() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user