#19 Spread out tick updates for tile entities

This commit is contained in:
mezz committed 2015-02-08 14:17:21 -08:00
1 parent 0848cfb891
commit 786dbd82c7
26 files changed
+46 -51

No files matched your search

@@ -54,7 +54,7 @@ public class TileHatch extends TileFarm implements ISidedInventory {
@Override
protected void updateServerSide() {
if (worldObj.getTotalWorldTime() % 40 == 0) {
if (updateOnInterval(40)) {
dumpStash();
}
}