SteamWar/FightSystem
Archiviert
13
1

Test fix clipping while crouching
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2023-04-29 22:36:30 +02:00
Ursprung 3c43733ab2
Commit 6048e64db4

Datei anzeigen

@ -27,6 +27,7 @@ import org.bukkit.block.data.BlockData;
import org.bukkit.block.data.Waterlogged; import org.bukkit.block.data.Waterlogged;
import org.bukkit.block.data.type.Dispenser; import org.bukkit.block.data.type.Dispenser;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
import org.bukkit.entity.Pose;
import org.bukkit.event.block.BlockPhysicsEvent; import org.bukkit.event.block.BlockPhysicsEvent;
import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.meta.BlockDataMeta; import org.bukkit.inventory.meta.BlockDataMeta;
@ -121,6 +122,6 @@ public class FlatteningWrapper14 implements FlatteningWrapper {
@Override @Override
public boolean isCrouching(Player player) { public boolean isCrouching(Player player) {
return player.isGliding(); return player.getPose() == Pose.FALL_FLYING;
} }
} }