Update BlockBreakHelper.java

This commit is contained in:
Leijurv 2018-09-24 18:16:13 -07:00 committed by GitHub
parent 8c397d1454
commit 1b74c8c8be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -46,7 +46,9 @@ public final class BlockBreakHelper implements Helper {
}
public static void stopBreakingBlock() {
mc.playerController.resetBlockRemoving();
if (mc.playerController != null) {
mc.playerController.resetBlockRemoving();
}
lastBlock = null;
}
}