mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-28 15:36:18 +00:00
#19 Spread out tick updates for tile entities
This commit is contained in:
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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user