use root locale for tillable conditions

This commit is contained in:
BillyGalbreath
2022-10-05 00:27:09 -05:00
parent 123cc4dc82
commit 28fc326003

View File

@@ -335,7 +335,7 @@ index 0000000000000000000000000000000000000000..bf5402214f41af9c09bd6c5c4f45d330
+}
diff --git a/src/main/java/org/purpurmc/purpur/tool/Tillable.java b/src/main/java/org/purpurmc/purpur/tool/Tillable.java
new file mode 100644
index 0000000000000000000000000000000000000000..e95412e3aeb57717ee4db03c66ae8001aea342af
index 0000000000000000000000000000000000000000..715f6dd44480347eebced43c11bc364e05727498
--- /dev/null
+++ b/src/main/java/org/purpurmc/purpur/tool/Tillable.java
@@ -0,0 +1,50 @@
@@ -385,7 +385,7 @@ index 0000000000000000000000000000000000000000..e95412e3aeb57717ee4db03c66ae8001
+ }
+
+ public static Condition get(String name) {
+ return BY_NAME.get(name.toUpperCase());
+ return BY_NAME.get(name.toUpperCase(java.util.Locale.ROOT));
+ }
+ }
+}