diff --git a/src/main/java/fun/bb1/spigot/fly/connect/PlaceHolderApiSupport.java b/src/main/java/fun/bb1/spigot/fly/connect/PlaceHolderApiSupport.java index b7b1475..0b02ef4 100644 --- a/src/main/java/fun/bb1/spigot/fly/connect/PlaceHolderApiSupport.java +++ b/src/main/java/fun/bb1/spigot/fly/connect/PlaceHolderApiSupport.java @@ -64,7 +64,7 @@ public final class PlaceHolderApiSupport extends PlaceholderExpansion { return switch(params.toLowerCase()) { case "active", "on" -> Boolean.toString(player.isOnline() && ((Player)player).getAllowFlight()); case "inactive", "off" -> Boolean.toString(!player.isOnline() || !((Player)player).getAllowFlight()); - case "speed" -> Float.toString(player.isOnline() ? 0 : ((Player)player).getFlySpeed()); + case "speed" -> Float.toString(player.isOnline() ? 0 : ((Player)player).getFlySpeed() * 10); default -> null; }; }