Fixed killaura issue

This commit is contained in:
Rammelkast committed 2016-05-30 19:04:46 +02:00
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());
}