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

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;
}
}