Bump hdskins version

This commit is contained in:
Sollace 2024-05-06 22:34:26 +01:00
parent 5524f8c7f1
commit 2d2dc3b8d6
No known key found for this signature in database
GPG key ID: E52FACE7B5C773DB
3 changed files with 3 additions and 3 deletions

View file

@ -21,5 +21,5 @@ org.gradle.daemon=false
# Dependencies
modmenu_version=10.0.0-beta.1
kirin_version=1.18.0-beta.1+1.20.5
hd_skins_version=6.12.3-beta.5+1.20.5
hd_skins_version=6.12.3-beta.6+1.20.5
mson_version=1.9.3+1.20.5

View file

@ -6,6 +6,7 @@ import com.minelittlepony.api.pony.*;
import com.minelittlepony.api.pony.meta.Wearable;
import com.minelittlepony.common.client.gui.ScrollContainer;
import com.minelittlepony.common.client.gui.element.Button;
import com.minelittlepony.hdskins.HDSkinsServer;
import com.minelittlepony.hdskins.client.*;
import com.minelittlepony.hdskins.client.gui.GuiSkins;
import com.minelittlepony.hdskins.client.gui.player.DummyPlayer;
@ -84,7 +85,7 @@ public class MineLPHDSkins extends SkinsProxy implements ClientModInitializer {
private void renderOption(Screen screen, @Nullable Screen parent, int row, int RIGHT, ScrollContainer content) {
content.addButton(new Button(RIGHT, row += 20, 150, 20))
.onClick(button -> MinecraftClient.getInstance().setScreen(
parent instanceof GuiSkins ? parent : GuiSkins.create(screen, HDSkins.getInstance().getSkinServerList())
parent instanceof GuiSkins ? parent : GuiSkins.create(screen, HDSkinsServer.getInstance().getServers())
))
.getStyle()
.setText("minelp.options.skins.hdskins.open");

View file

@ -4,7 +4,6 @@ import com.minelittlepony.api.config.PonyConfig;
import com.minelittlepony.api.model.*;
import com.minelittlepony.api.pony.meta.Size;
import com.minelittlepony.api.pony.meta.SizePreset;
import com.minelittlepony.client.MineLittlePony;
import com.minelittlepony.client.model.part.UnicornHorn;
import com.minelittlepony.client.util.render.RenderList;
import com.minelittlepony.mson.api.ModelView;