mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-22 04:27:59 +01:00
Remove patch that only applies to 1.20.1
This commit is contained in:
parent
e01580f804
commit
8bf3bc38a4
1 changed files with 0 additions and 11 deletions
|
@ -5,7 +5,6 @@ import com.minelittlepony.client.MineLittlePony;
|
||||||
import com.minelittlepony.common.client.gui.dimension.Bounds;
|
import com.minelittlepony.common.client.gui.dimension.Bounds;
|
||||||
import com.minelittlepony.common.client.gui.element.Button;
|
import com.minelittlepony.common.client.gui.element.Button;
|
||||||
import com.minelittlepony.common.client.gui.sprite.TextureSprite;
|
import com.minelittlepony.common.client.gui.sprite.TextureSprite;
|
||||||
import com.minelittlepony.hdskins.client.HDSkins;
|
|
||||||
import com.minelittlepony.hdskins.client.gui.DualCarouselWidget;
|
import com.minelittlepony.hdskins.client.gui.DualCarouselWidget;
|
||||||
import com.minelittlepony.hdskins.client.gui.GuiSkins;
|
import com.minelittlepony.hdskins.client.gui.GuiSkins;
|
||||||
import com.minelittlepony.hdskins.server.SkinServerList;
|
import com.minelittlepony.hdskins.server.SkinServerList;
|
||||||
|
@ -40,16 +39,6 @@ class GuiSkinsMineLP extends GuiSkins {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public void init() {
|
|
||||||
// TODO: Known HDSkins bug only occurs when reloading with Ctrl+Alt+R
|
|
||||||
var equipment = HDSkins.getInstance().getDummyPlayerEquipmentList().getValues().toList();
|
|
||||||
if (equipment.indexOf(previewer.getEquipment()) < 0) {
|
|
||||||
previewer.setEquipment(HDSkins.getInstance().getDummyPlayerEquipmentList().getDefault());
|
|
||||||
}
|
|
||||||
super.init();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void initServerPreviewButtons(Bounds area) {
|
protected void initServerPreviewButtons(Bounds area) {
|
||||||
if (!(parent instanceof PonySettingsScreen)) {
|
if (!(parent instanceof PonySettingsScreen)) {
|
||||||
|
|
Loading…
Reference in a new issue