Fixed server crash due to missing SideOnly

This commit is contained in:
Emmanuel BENOîT 2016-07-22 09:58:19 +02:00
parent 15e914f706
commit 70e312131f

View file

@ -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( );