Fix crash on version 1.20
Fixes #75.
Proposed Changes
- fixed access to unitialized BIOMES item
- Small refactoring of relevant code
The PR works well on my server. Thanks!
Tested with PaperMC 1.20.4 (build 409) and Dynmap v. 3.7-beta-4-935
For those less technically minded, I've built a release jar which includes this change (thanks go to @jbazant) and some version upgrades, and can be downloaded at https://github.com/Pezmc/dynmap-structures/releases/tag/2.6.2
For those less technically minded, I've built a release jar which includes this change (thanks go to @jbazant) and some version upgrades, and can be downloaded at https://github.com/Pezmc/dynmap-structures/releases/tag/2.6.2
Amazing! Still works on 1.21.1.
Yep, but sadly no on 1.21.4 anymore.
Yep, but sadly no on 1.21.4 anymore.