mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2026-11-03 21:14:27 +00:00
fix github actions
This commit is contained in:
1 parent
ca40c9cf19
commit
685d33a2dd
1 file changed
+2
-1
@@ -234,7 +234,8 @@ 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