From 67c541676bcdefbfad3c69a3a97e390354c723e9 Mon Sep 17 00:00:00 2001 From: robin4002 Date: Mon, 14 Apr 2014 14:07:52 +0200 Subject: [PATCH] Fix server crash --- common/buildcraft/core/render/BlockHighlightHandler.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/buildcraft/core/render/BlockHighlightHandler.java b/common/buildcraft/core/render/BlockHighlightHandler.java index 0690a9fa..d4bf6065 100644 --- a/common/buildcraft/core/render/BlockHighlightHandler.java +++ b/common/buildcraft/core/render/BlockHighlightHandler.java @@ -10,9 +10,12 @@ import net.minecraft.util.AxisAlignedBB; import net.minecraft.block.Block; import net.minecraft.util.Vec3; import org.lwjgl.opengl.GL11; +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; public class BlockHighlightHandler{ + @SideOnly(Side.CLIENT) @SubscribeEvent public void handleBlockHighlight(DrawBlockHighlightEvent e){ if (e.target.typeOfHit == MovingObjectPosition.MovingObjectType.BLOCK){