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; }