mirror of
https://github.com/GravitLauncher/Launcher
synced 2025-01-11 01:59:41 +03:00
[FIX] Compile fix
This commit is contained in:
parent
3afe77bf34
commit
44e840734c
3 changed files with 5 additions and 4 deletions
|
@ -46,10 +46,9 @@ public UUID getUUID() {
|
||||||
return playerProfile.getUUID();
|
return playerProfile.getUUID();
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
|
||||||
@Override
|
@Override
|
||||||
public Map<String, Texture> getAssets() {
|
public Map<String, Texture> getAssets() {
|
||||||
return (Map) playerProfile.getAssets();
|
return playerProfile.getAssets();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -60,9 +60,10 @@ public UUID getUUID() {
|
||||||
return uuid;
|
return uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
@Override
|
@Override
|
||||||
public Map<String, Texture> getAssets() {
|
public Map<String, pro.gravit.launcher.core.api.model.Texture> getAssets() {
|
||||||
return assets;
|
return (Map) assets;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -48,6 +48,7 @@ interface ClientProfileSettings {
|
||||||
List<ProfileFeatureAPI.OptionalMod> getEnabledOptionals();
|
List<ProfileFeatureAPI.OptionalMod> getEnabledOptionals();
|
||||||
void enableOptional(ProfileFeatureAPI.OptionalMod mod, ChangedOptionalStatusCallback callback);
|
void enableOptional(ProfileFeatureAPI.OptionalMod mod, ChangedOptionalStatusCallback callback);
|
||||||
void disableOptional(ProfileFeatureAPI.OptionalMod mod, ChangedOptionalStatusCallback callback);
|
void disableOptional(ProfileFeatureAPI.OptionalMod mod, ChangedOptionalStatusCallback callback);
|
||||||
|
ClientProfileSettings clone();
|
||||||
|
|
||||||
enum Flag {
|
enum Flag {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue