mirror of
https://github.com/WiIIiam278/HuskSync.git
synced 2025-12-19 14:59:21 +00:00
fix: exception loading compatibility config
This commit is contained in:
@@ -64,11 +64,11 @@ public interface CompatibilityChecker {
|
|||||||
HuskSync getPlugin();
|
HuskSync getPlugin();
|
||||||
|
|
||||||
@Configuration
|
@Configuration
|
||||||
record CompatibilityConfig(@NotNull String compatibleMinecraftVersion) {
|
record CompatibilityConfig(@NotNull String minecraftVersion) {
|
||||||
|
|
||||||
@NotNull
|
@NotNull
|
||||||
public Version getCompatibleWith() {
|
public Version getCompatibleWith() {
|
||||||
return Version.fromString(compatibleMinecraftVersion);
|
return Version.fromString(minecraftVersion);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user