mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 09:01:08 +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();
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
@Override
|
||||
public Map<String, Texture> getAssets() {
|
||||
return (Map) playerProfile.getAssets();
|
||||
return playerProfile.getAssets();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -60,9 +60,10 @@ public UUID getUUID() {
|
|||
return uuid;
|
||||
}
|
||||
|
||||
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||
@Override
|
||||
public Map<String, Texture> getAssets() {
|
||||
return assets;
|
||||
public Map<String, pro.gravit.launcher.core.api.model.Texture> getAssets() {
|
||||
return (Map) assets;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -48,6 +48,7 @@ interface ClientProfileSettings {
|
|||
List<ProfileFeatureAPI.OptionalMod> getEnabledOptionals();
|
||||
void enableOptional(ProfileFeatureAPI.OptionalMod mod, ChangedOptionalStatusCallback callback);
|
||||
void disableOptional(ProfileFeatureAPI.OptionalMod mod, ChangedOptionalStatusCallback callback);
|
||||
ClientProfileSettings clone();
|
||||
|
||||
enum Flag {
|
||||
|
||||
|
|
Loading…
Reference in a new issue