From 3c43733ab2efba2b8396258bf311a61531024d78 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Sat, 29 Apr 2023 22:29:35 +0200 Subject: [PATCH] Test fix clipping while crouching Signed-off-by: Lixfel --- .../src/de/steamwar/fightsystem/utils/FlatteningWrapper14.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FightSystem_14/src/de/steamwar/fightsystem/utils/FlatteningWrapper14.java b/FightSystem_14/src/de/steamwar/fightsystem/utils/FlatteningWrapper14.java index abab2e4..a7900fe 100644 --- a/FightSystem_14/src/de/steamwar/fightsystem/utils/FlatteningWrapper14.java +++ b/FightSystem_14/src/de/steamwar/fightsystem/utils/FlatteningWrapper14.java @@ -121,6 +121,6 @@ public class FlatteningWrapper14 implements FlatteningWrapper { @Override public boolean isCrouching(Player player) { - return player.isSwimming(); + return player.isGliding(); } }