-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Refactor Minecraft version detection
This commit refactors enum `MinecraftVersion` to handle Minecraft version detection. It includes version constants for various Minecraft versions, ranging from 1.7 to 1.20.6. Each version is associated with a specific sub-version range to accurately identify the exact release. The `SubVersionRange` class encapsulates the version number, start, and end values for each sub-version range. This allows us to map the Bukkit version to the corresponding Minecraft version.
- Loading branch information
1 parent
fa29c21
commit ae51039
Showing
1 changed file
with
96 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters