mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-20 12:09:39 +00:00
#19 use a tick count like Railcraft
This commit is contained in:
1 parent
a679d46c57
commit
2fce803456
3 files changed
+6
-13
No files matched your search
@@ -97,16 +97,11 @@ public abstract class TileFarm extends TileForestry implements IFarmComponent {
|
||||
|
||||
@Override
|
||||
public void updateEntity() {
|
||||
super.updateEntity();
|
||||
|
||||
if (!Proxies.common.isSimulating(worldObj)) {
|
||||
updateClientSide();
|
||||
} else {
|
||||
|
||||
if (!isInited) {
|
||||
initialize();
|
||||
isInited = true;
|
||||
}
|
||||
|
||||
// Periodic validation if needed
|
||||
if (updateOnInterval(200) && (!isIntegratedIntoStructure() || isMaster())) {
|
||||
validateStructure();
|
||||
|
||||
Reference in new issue
Block a user