Reach Detection fix
This commit is contained in:
parent
b333bb4384
commit
6de7309345
|
@ -15,7 +15,7 @@ public class Reach extends Detection {
|
|||
|
||||
@EventTarget
|
||||
public void totallyNoReachHax(EntityAttackEvent event) {
|
||||
if(System.currentTimeMillis() - lastHit < 500 || !PlayerUtils.isSurvival()) {
|
||||
if(System.currentTimeMillis() - lastHit < 500 || !PlayerUtils.isSurvival() || mc.isSingleplayer()) {
|
||||
return;
|
||||
}
|
||||
if(mc.objectMouseOver != null && mc.objectMouseOver.hitVec != null) {
|
||||
|
|
Loading…
Reference in New Issue