[FIX] Implement getMinecraftVersion()

This commit is contained in:
Gravita 2025-06-13 17:30:28 +07:00
parent cacbbfc8ed
commit 15ed66b3d5
2 changed files with 6 additions and 0 deletions

View file

@ -295,6 +295,11 @@ public UUID getUUID() {
return uuid; return uuid;
} }
@Override
public String getMinecraftVersion() {
return version.toString();
}
@Override @Override
public String getDescription() { public String getDescription() {
return info; return info;

View file

@ -21,6 +21,7 @@ interface UpdateInfo {
interface ClientProfile { interface ClientProfile {
String getName(); String getName();
UUID getUUID(); UUID getUUID();
String getMinecraftVersion();
String getDescription(); String getDescription();
List<OptionalMod> getOptionalMods(); List<OptionalMod> getOptionalMods();
String getProperty(String name); String getProperty(String name);