mirror of
https://github.com/refactorinqq/SLC-1.8.9.git
synced 2024-11-10 07:01:32 +01:00
Reach Detection fix
This commit is contained in:
parent
cd9ad7311a
commit
2cedc51b71
@ -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
Block a user