Remove deprecated override

This commit is contained in:
Sollace 2021-02-06 21:36:56 +02:00
parent 94ab034c48
commit e1339fb2a8
2 changed files with 2 additions and 11 deletions

View file

@ -30,7 +30,6 @@ public class MineLPHDSkins extends SkinsProxy implements ClientModInitializer {
static SkinType seaponySkinType; static SkinType seaponySkinType;
@Override @Override
public void onInitializeClient() { public void onInitializeClient() {
SkinsProxy.instance = this; SkinsProxy.instance = this;

View file

@ -1,21 +1,13 @@
package com.minelittlepony.client.modmenu; package com.minelittlepony.client.modmenu;
import io.github.prospector.modmenu.api.ConfigScreenFactory;
import io.github.prospector.modmenu.api.ModMenuApi; import io.github.prospector.modmenu.api.ModMenuApi;
import net.minecraft.client.gui.screen.Screen;
import com.minelittlepony.client.GuiPonySettings; import com.minelittlepony.client.GuiPonySettings;
import java.util.function.Function;
public class MineLPModMenuFactory implements ModMenuApi { public class MineLPModMenuFactory implements ModMenuApi {
@Override @Override
public String getModId() { public ConfigScreenFactory<?> getModConfigScreenFactory() {
return "minelp";
}
@Override
public Function<Screen, ? extends Screen> getConfigScreenFactory() {
return GuiPonySettings::new; return GuiPonySettings::new;
} }
} }