From e8b0959eb5995b05945d41b87261ca67a688b151 Mon Sep 17 00:00:00 2001 From: Alexander Noyle Date: Fri, 24 Jul 2026 13:28:11 -0400 Subject: [PATCH] Allow 4x creative and spectator flight --- .../nocheatplus/checks/moving/model/ModelFlying.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/NCPCore/src/main/java/fr/neatmonster/nocheatplus/checks/moving/model/ModelFlying.java b/NCPCore/src/main/java/fr/neatmonster/nocheatplus/checks/moving/model/ModelFlying.java index e86663f72..71e0adeb0 100644 --- a/NCPCore/src/main/java/fr/neatmonster/nocheatplus/checks/moving/model/ModelFlying.java +++ b/NCPCore/src/main/java/fr/neatmonster/nocheatplus/checks/moving/model/ModelFlying.java @@ -120,11 +120,11 @@ public class ModelFlying { scaleRiptidingEffect(defaults.getScaleRiptidingEffect()); // Only resolved creative and spectator game-mode models get the extra allowance. - // The first creative model is the defaults template; doubling that would also + // The first creative model is the defaults template; multiplying that would also // leak into survival/adventure allow-flight models. if (("gamemode.creative".equals(id) && defaults.getId() != null) || "gamemode.spectator".equals(id)) { - horizontalModSpeed(horizontalModSpeed * 2.0); - verticalAscendModSpeed(verticalAscendModSpeed * 2.0); + horizontalModSpeed(horizontalModSpeed * 4.0); + verticalAscendModSpeed(verticalAscendModSpeed * 4.0); } } @@ -289,4 +289,4 @@ public class ModelFlying { this.scaleRiptidingEffect = scaleRiptidingEffect; return this; } -} \ No newline at end of file +} -- 2.47.3