mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 14:38:56 +00:00
Fixed killaura issue
This commit is contained in:
1 parent
d2c4960833
commit
4cc8ec9380
1 file changed
+2
@@ -23,6 +23,8 @@ public class CheckerNPCS {
|
||||
Vector vec = e.getPlayer().getLocation().getDirection();
|
||||
Vector newVec = new Vector(vec.getX() * -2, vec.getY() * -2, vec.getZ() * -2);
|
||||
Location backLocation = eyeLocation.add(newVec);
|
||||
if (e.getPlayer().getLocation().getPitch() <= -45) // TODO better fix for this
|
||||
backLocation.add(0, -2.5, 0);
|
||||
one.move(backLocation, e.getPlayer());
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user