mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-20 03:59:45 +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
@@ -18,7 +18,6 @@ import cpw.mods.fml.common.eventhandler.Event.Result;
|
||||
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
|
||||
|
||||
import forestry.core.config.ForestryBlock;
|
||||
import forestry.core.proxy.Proxies;
|
||||
import forestry.farming.blocks.BlockMushroom;
|
||||
|
||||
public class EventHandlerFarming {
|
||||
@@ -26,7 +25,7 @@ public class EventHandlerFarming {
|
||||
@SubscribeEvent
|
||||
public void handleBonemeal(BonemealEvent event) {
|
||||
|
||||
if (!Proxies.common.isSimulating(event.world)) {
|
||||
if (event.world.isRemote) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user