mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 12:27:59 +01:00
Fix tick rates map being stored with upper case values instead of lower case (#6587)
This commit is contained in:
parent
0767b6966e
commit
76a6ed89c7
@ -82,7 +82,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ for (String typeName : entitySection.getKeys(false)) {
|
||||
+ if (entitySection.isInt(typeName)) {
|
||||
+ int tickRate = entitySection.getInt(typeName);
|
||||
+ table.put(entity.toUpperCase(Locale.ROOT), typeName.toUpperCase(Locale.ROOT), tickRate);
|
||||
+ table.put(entity.toLowerCase(Locale.ROOT), typeName.toLowerCase(Locale.ROOT), tickRate);
|
||||
+ log(" " + typeName + ": " + tickRate);
|
||||
+ }
|
||||
+ }
|
||||
|
Loading…
Reference in New Issue
Block a user