DoubleDoorDevelopment / Lumberjack

Boom. Tree gone!
BSD 3-Clause "New" or "Revised" License
5 stars 7 forks source link

toLowerCase problem in Turkish operating systems #35

Open FurkanS1821 opened 3 years ago

FurkanS1821 commented 3 years ago

https://github.com/DoubleDoorDevelopment/Lumberjack/blob/a73608ff69bbf88bab522a22681af95b5e055bde/src/main/java/net/doubledoordev/lumberjack/items/ItemLumberAxe.java#L113

This blob of code causes exception in Turkish OSs because it will lower I to ı, causing errors like "ıron_axe not found". This can easily be fixed by using English culture.

throwaway191 commented 3 years ago

What do you mean by using "English Culture" and how to I enable it?

FurkanS1821 commented 3 years ago

Using toLowerCase(Locale.ENGLISH) everywhere will fix it.