jpenilla / MiniMOTD

Minecraft server/proxy plugin to set the server list MOTD using MiniMessage for formatting, supporting RGB colors.
https://modrinth.com/plugin/minimotd
MIT License
286 stars 32 forks source link

Fix the IndexOufOfBoundException caused by version checker #144

Open Lumine1909 opened 9 months ago

Lumine1909 commented 9 months ago

Fix the IndexOutOfBoundException

(SZ0(6XA8`%)SVM_4)HC(YU_tmb

jpenilla commented 7 months ago

I've fixed up the diff, but I'm still unsure about this, in what case will GitHub return a valid JSON array that is empty? I would think the result would fail to parse at all on an error...