mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-20 12:09:39 +00:00
Replace !Proxies.common.isSimulating(world) with standard world.isRemote
This commit is contained in:
1 parent
1e89bab556
commit
4234c38d69
44 files changed
+66
-102
No files matched your search
@@ -30,7 +30,6 @@ import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
||||
import forestry.core.blocks.IItemTyped;
|
||||
import forestry.core.config.Constants;
|
||||
import forestry.core.proxy.Proxies;
|
||||
import forestry.farming.worldgen.WorldGenBigMushroom;
|
||||
|
||||
public class BlockMushroom extends BlockSapling implements IItemTyped {
|
||||
@@ -76,7 +75,7 @@ public class BlockMushroom extends BlockSapling implements IItemTyped {
|
||||
@Override
|
||||
public void updateTick(World world, int i, int j, int k, Random random) {
|
||||
|
||||
if (!Proxies.common.isSimulating(world)) {
|
||||
if (world.isRemote) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user