mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-29 07:27:59 +01:00
Remove deprecated override
This commit is contained in:
parent
94ab034c48
commit
e1339fb2a8
2 changed files with 2 additions and 11 deletions
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue