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();
|
||||
|
||||
@Configuration
|
||||
record CompatibilityConfig(@NotNull String compatibleMinecraftVersion) {
|
||||
record CompatibilityConfig(@NotNull String minecraftVersion) {
|
||||
|
||||
@NotNull
|
||||
public Version getCompatibleWith() {
|
||||
return Version.fromString(compatibleMinecraftVersion);
|
||||
return Version.fromString(minecraftVersion);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user