Skip to content
This repository has been archived by the owner on Nov 27, 2021. It is now read-only.

Commit

Permalink
my bad
Browse files Browse the repository at this point in the history
  • Loading branch information
MariaTheDinkus committed Oct 12, 2021
1 parent 685d33a commit fd24d89
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ private TurtleCommandResult dig( ITurtleAccess turtle, Direction direction, Turt
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" );
}
Expand Down

0 comments on commit fd24d89

Please sign in to comment.