mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-08-29 16:47:56 +00:00
my bad
This commit is contained in:
@@ -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" );
|
||||
}
|
||||
|
Reference in New Issue
Block a user