From d8058766cc10071f7bd3cadce836fa8e42b3cf18 Mon Sep 17 00:00:00 2001 From: onebeastchris Date: Tue, 28 Oct 2025 20:53:24 +0100 Subject: [PATCH] Fix: Entity property min/max being flipped --- .../java/org/geysermc/geyser/entity/EntityDefinitions.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/org/geysermc/geyser/entity/EntityDefinitions.java b/core/src/main/java/org/geysermc/geyser/entity/EntityDefinitions.java index fbe8b7883..8b9a54c0c 100644 --- a/core/src/main/java/org/geysermc/geyser/entity/EntityDefinitions.java +++ b/core/src/main/java/org/geysermc/geyser/entity/EntityDefinitions.java @@ -1272,7 +1272,7 @@ public final class EntityDefinitions { if (propertyId.vanilla()) { throw new IllegalArgumentException("Cannot register custom property in vanilla namespace! " + propertyId); } - FloatProperty property = new FloatProperty(propertyId, min, max, defaultValue); + FloatProperty property = new FloatProperty(propertyId, max, min, defaultValue); registerProperty(identifier, property); return property; } @@ -1284,7 +1284,7 @@ public final class EntityDefinitions { if (propertyId.vanilla()) { throw new IllegalArgumentException("Cannot register custom property in vanilla namespace! " + propertyId); } - IntProperty property = new IntProperty(propertyId, min, max, defaultValue); + IntProperty property = new IntProperty(propertyId, max, min, defaultValue); registerProperty(identifier, property); return property; }