From 5a52cea41559b168ebeb8f69e66416f57b46eb61 Mon Sep 17 00:00:00 2001 From: Leijurv Date: Wed, 14 Nov 2018 13:48:09 -0800 Subject: [PATCH] epic --- src/main/java/baritone/utils/BlockBreakHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/baritone/utils/BlockBreakHelper.java b/src/main/java/baritone/utils/BlockBreakHelper.java index e384cf9c..d4d03f67 100644 --- a/src/main/java/baritone/utils/BlockBreakHelper.java +++ b/src/main/java/baritone/utils/BlockBreakHelper.java @@ -81,7 +81,7 @@ public final class BlockBreakHelper implements Helper { return isLeftClick; } - RayTraceResult trace = mc.objectMouseOver; // TODO per-player objectMouseOver + RayTraceResult trace = playerContext.objectMouseOver(); boolean isBlockTrace = trace != null && trace.typeOfHit == RayTraceResult.Type.BLOCK; if (isLeftClick && isBlockTrace) {