mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-12-14 04:00:30 +00:00
parent
7809a2eddd
commit
2c67849b35
@ -246,7 +246,7 @@ public class TurtlePlaceCommand implements ITurtleCommand
|
||||
{
|
||||
// See EntityPlayer.interactOn
|
||||
cancelResult = ForgeHooks.onInteractEntity( turtlePlayer, hitEntity, Hand.MAIN_HAND );
|
||||
if( cancelResult.isSuccessOrConsume() )
|
||||
if( cancelResult != null && cancelResult.isSuccessOrConsume() )
|
||||
{
|
||||
placed = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user