From 70e312131f58d8da49bf311e516a161edf15d502 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20Beno=C3=AEt?= Date: Fri, 22 Jul 2016 09:58:19 +0200 Subject: [PATCH] Fixed server crash due to missing SideOnly --- src/java/mmm/plants/PTomato.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/java/mmm/plants/PTomato.java b/src/java/mmm/plants/PTomato.java index 9b143f5..b2b3bb9 100644 --- a/src/java/mmm/plants/PTomato.java +++ b/src/java/mmm/plants/PTomato.java @@ -42,6 +42,8 @@ import net.minecraft.world.IBlockAccess; import net.minecraft.world.World; import net.minecraftforge.common.IShearable; import net.minecraftforge.fml.common.registry.GameRegistry; +import net.minecraftforge.fml.relauncher.Side; +import net.minecraftforge.fml.relauncher.SideOnly; @@ -215,6 +217,7 @@ public class PTomato @Override + @SideOnly( Side.CLIENT ) public IStateMapper getStateMapper( ) { return new StateMap.Builder( ).ignore( PTomato.AGE ).build( );