mirror of
https://github.com/GTNewHorizons/ForgeMultipart.git
synced 2026-11-28 07:56:11 +00:00
Fixed double click crash
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user