1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-08-29 08:42:17 +00:00
This commit is contained in:
Jacob Farley
2021-10-11 19:12:07 -05:00
parent 685d33a2dd
commit fd24d89f89

View File

@@ -234,7 +234,7 @@ public class TurtleTool extends AbstractTurtleUpgrade
return TurtleCommandResult.failure( digEvent.getFailureMessage() );
}
if ( !PlayerBlockBreakEvents.BEFORE.invoker().beforeBlockBreak( world, turtlePlayer, blockPosition, state, null ) )
if( !PlayerBlockBreakEvents.BEFORE.invoker().beforeBlockBreak( world, turtlePlayer, blockPosition, state, null ) )
{
return TurtleCommandResult.failure( "Break cancelled" );
}