From 6f5d7390126cd80c61f2a09a0ca9edbe4a76b7a6 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Mon, 14 Nov 2022 18:37:31 +0100 Subject: [PATCH] Fix JumpAndRun --- src/de/steamwar/lobby/jumpandrun/JumpAndRun.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/de/steamwar/lobby/jumpandrun/JumpAndRun.java b/src/de/steamwar/lobby/jumpandrun/JumpAndRun.java index 2161fcb..c86bc42 100644 --- a/src/de/steamwar/lobby/jumpandrun/JumpAndRun.java +++ b/src/de/steamwar/lobby/jumpandrun/JumpAndRun.java @@ -69,6 +69,9 @@ public class JumpAndRun extends BasicListener { return; } Vector point = points.get(index); + if (location.getY() < point.getY()) { + return; + } if (location.toVector().distanceSquared(point) >= 12.25) { return; }