Merge pull request #1610 from robin4002/NextGen

Fix server crash
This commit is contained in:
SpaceToad 2014-04-14 17:09:57 +02:00
commit a4744e6632

View file

@ -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){