mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-27 23:45:55 +00:00
Cleanup of common constructs
This commit is contained in:
1 parent
31f193be2c
commit
d7f9eb05fe
36 files changed
+160
-246
No files matched your search
@@ -26,7 +26,7 @@ public class TileLightNode extends TileEntityEio {
|
||||
if(worldObj.isRemote) {
|
||||
return;
|
||||
}
|
||||
if(worldObj.getWorldTime() % 42 == 0) {
|
||||
if(shouldDoWorkThisTick(42)) {
|
||||
if(worldObj.getBlock(parentX, parentY, parentZ) != EnderIO.blockElectricLight) {
|
||||
worldObj.setBlockToAir(xCoord, yCoord, zCoord);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user