Cleanup of common constructs

This commit is contained in:
Henry Loenwind authored and HenryLoenwind committed 2015-03-18 21:44:48 +01:00
1 parent 31f193be2c
commit d7f9eb05fe
36 files changed
+160 -246

No files matched your search

@@ -131,7 +131,7 @@ public class TileBuffer extends AbstractPowerConsumerEntity implements IPaintabl
@Override
protected boolean doPush(ForgeDirection dir) {
if(worldObj.getTotalWorldTime() % 20 != 0) {
if(!shouldDoWorkThisTick(20)) {
return false;
}