Fix creativeFlyDrag and creativeFlySpeed not loading from config (#969)

This commit is contained in:
altrisi authored and GitHub committed 2021-06-30 12:29:59 -03:00
1 parent 91de6ec307
commit 8613ecf9d8
1 file changed
+2
+2
View File
@@ -820,6 +820,7 @@ public class CarpetSettings
"but this also means it will work on vanilla servers as well" "but this also means it will work on vanilla servers as well"
}, },
category = {CREATIVE, CLIENT}, category = {CREATIVE, CLIENT},
strict = false,
validate = Validator.NONNEGATIVE_NUMBER.class validate = Validator.NONNEGATIVE_NUMBER.class
) )
public static double creativeFlySpeed = 1.0; public static double creativeFlySpeed = 1.0;
@@ -835,6 +836,7 @@ public class CarpetSettings
"but this also means it will work on vanilla servers as well" "but this also means it will work on vanilla servers as well"
}, },
category = {CREATIVE, CLIENT}, category = {CREATIVE, CLIENT},
strict = false,
validate = Validator.PROBABILITY.class validate = Validator.PROBABILITY.class
) )
public static double creativeFlyDrag = 0.09; public static double creativeFlyDrag = 0.09;