Fixed double click crash

This commit is contained in:
Chicken Bones committed 2013-08-19 08:04:10 +10:00
1 parent 75d830110a
commit 8b49a6c579
1 file changed
+3
@@ -39,6 +39,9 @@ public class EventHandler
public static boolean place(EntityPlayer player, World world)
{
MovingObjectPosition hit = RayTracer.reTrace(world, player);
if(hit == null)
return false;
BlockCoord pos = new BlockCoord(hit.blockX, hit.blockY, hit.blockZ).offset(hit.sideHit);
ItemStack held = player.getHeldItem();
McBlockPart part = null;