From fd24d89f89e59c70913bfdb818981f27c29d10bf Mon Sep 17 00:00:00 2001 From: Jacob Farley Date: Mon, 11 Oct 2021 19:12:07 -0500 Subject: [PATCH] my bad --- .../dan200/computercraft/shared/turtle/upgrades/TurtleTool.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/dan200/computercraft/shared/turtle/upgrades/TurtleTool.java b/src/main/java/dan200/computercraft/shared/turtle/upgrades/TurtleTool.java index 9be1bba88..c5bbd31f4 100644 --- a/src/main/java/dan200/computercraft/shared/turtle/upgrades/TurtleTool.java +++ b/src/main/java/dan200/computercraft/shared/turtle/upgrades/TurtleTool.java @@ -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" ); }