epic
This commit is contained in:
parent
933b295c40
commit
5a52cea415
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user