From 2d2dc3b8d60642f0482a32c7f09056da03d0cb68 Mon Sep 17 00:00:00 2001 From: Sollace Date: Mon, 6 May 2024 22:34:26 +0100 Subject: [PATCH] Bump hdskins version --- gradle.properties | 2 +- .../minelittlepony/client/compat/hdskins/MineLPHDSkins.java | 3 ++- .../minelittlepony/client/model/entity/race/UnicornModel.java | 1 - 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gradle.properties b/gradle.properties index b9a573cd..faad0b7f 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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 diff --git a/src/main/java/com/minelittlepony/client/compat/hdskins/MineLPHDSkins.java b/src/main/java/com/minelittlepony/client/compat/hdskins/MineLPHDSkins.java index 266121a5..68a639d9 100644 --- a/src/main/java/com/minelittlepony/client/compat/hdskins/MineLPHDSkins.java +++ b/src/main/java/com/minelittlepony/client/compat/hdskins/MineLPHDSkins.java @@ -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"); diff --git a/src/main/java/com/minelittlepony/client/model/entity/race/UnicornModel.java b/src/main/java/com/minelittlepony/client/model/entity/race/UnicornModel.java index 29bc4a21..6cf05373 100644 --- a/src/main/java/com/minelittlepony/client/model/entity/race/UnicornModel.java +++ b/src/main/java/com/minelittlepony/client/model/entity/race/UnicornModel.java @@ -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;