mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-26 23:03: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
@@ -118,7 +118,7 @@ public class MachineTrader extends TileBase {
|
||||
@Override
|
||||
public void updateServerSide() {
|
||||
|
||||
if (!isLinked() || worldObj.getTotalWorldTime() % 4 != 0) {
|
||||
if (!isLinked() || !updateOnInterval(10)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user