Files
Jason Penilla 12438d74db Fix legacy Minecraft version detection
Legacy detection parsed the CraftBukkit NMS package name (e.g.
"v1_8_R3") and passed the first token ("v1") to Integer.parseInt,
throwing NumberFormatException on every pre-1.20.5 server.

Use Bukkit.getBukkitVersion() instead. It is available on all
supported versions and includes the patch version, e.g.
"1.8.8-R0.1-SNAPSHOT".
2026-09-17 18:31:09 -07:00
..