This commit is contained in:
Leijurv 2018-11-14 13:48:09 -08:00
parent 933b295c40
commit 5a52cea415
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -81,7 +81,7 @@ public final class BlockBreakHelper implements Helper {
return isLeftClick; return isLeftClick;
} }
RayTraceResult trace = mc.objectMouseOver; // TODO per-player objectMouseOver RayTraceResult trace = playerContext.objectMouseOver();
boolean isBlockTrace = trace != null && trace.typeOfHit == RayTraceResult.Type.BLOCK; boolean isBlockTrace = trace != null && trace.typeOfHit == RayTraceResult.Type.BLOCK;
if (isLeftClick && isBlockTrace) { if (isLeftClick && isBlockTrace) {