SteveKunG / SkyBlockcatia

Useful Hypixel Skyblock features, QOL and In-game API Viewer
https://www.curseforge.com/minecraft/mc-mods/skyblockcatia
MIT License
31 stars 8 forks source link

Support multiple rarity languages #22

Closed jkroepke closed 3 years ago

jkroepke commented 4 years ago

Hi,

currently item rarity overlay just work in english language.

https://github.com/SteveKunG/SkyBlockcatia/blob/310b9505e6d0d3a00cf5e1fe2f3d55c27e57faac/src/main/java/com/stevekung/skyblockcatia/utils/RenderUtils.java#L112

In Actions House some items has a rarity in different languages results that the rarity wont work.

Maybe you could move away from word matching and just use a match based on the color.

SteveKunG commented 3 years ago

Well, Hypixel should export their API by default language (English). That's really annoying for website or mods.

SteveKunG commented 3 years ago

Fixed in 1.0.9