From b278416b5e1e64e7b8059a2ef3eb1278f5ab08e9 Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Thu, 17 Aug 2023 22:23:20 +0200 Subject: [PATCH] Fix Falling --- configs/gamemode.yml | 1 - src/de/steamwar/towerrun/winconditions/OutsideWincondition.java | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/configs/gamemode.yml b/configs/gamemode.yml index 6bef87f..dbc1d4e 100644 --- a/configs/gamemode.yml +++ b/configs/gamemode.yml @@ -5,5 +5,4 @@ lobbyTimer: 30 destroyable: - WHITE_WOOL - FIRE - - GLASS - GLASS_PANE \ No newline at end of file diff --git a/src/de/steamwar/towerrun/winconditions/OutsideWincondition.java b/src/de/steamwar/towerrun/winconditions/OutsideWincondition.java index b148a26..6864d7d 100644 --- a/src/de/steamwar/towerrun/winconditions/OutsideWincondition.java +++ b/src/de/steamwar/towerrun/winconditions/OutsideWincondition.java @@ -53,7 +53,7 @@ public abstract class OutsideWincondition extends WinCondition { return; } - if (event.getTo().getY() - event.getFrom().getY() == 0) { + if (event.getTo().getY() - event.getFrom().getY() != 0) { return; }