Implement changes for updated dependencies

This commit is contained in:
Sollace 2020-03-29 21:30:43 +02:00
parent 0d18697a67
commit 27dff4c522

View file

@ -1,7 +1,7 @@
package com.minelittlepony.client.hdskins; package com.minelittlepony.client.hdskins;
import com.minelittlepony.client.MineLittlePony; import com.minelittlepony.client.MineLittlePony;
import com.minelittlepony.common.client.gui.element.IconicToggle; import com.minelittlepony.common.client.gui.element.Cycler;
import com.minelittlepony.common.client.gui.style.Style; import com.minelittlepony.common.client.gui.style.Style;
import com.minelittlepony.hdskins.client.dummy.PlayerPreview; import com.minelittlepony.hdskins.client.dummy.PlayerPreview;
import com.minelittlepony.hdskins.client.gui.GuiSkins; import com.minelittlepony.hdskins.client.gui.GuiSkins;
@ -44,7 +44,7 @@ class GuiSkinsMineLP extends GuiSkins {
public void init() { public void init() {
super.init(); super.init();
addButton(new IconicToggle(width - 25, 142, 20, 20)) addButton(new Cycler(width - 25, 142, 20, 20))
.setStyles( .setStyles(
new Style().setIcon(new ItemStack(Items.BUCKET)).setTooltip("minelp.mode.dry", 0, 10), new Style().setIcon(new ItemStack(Items.BUCKET)).setTooltip("minelp.mode.dry", 0, 10),
new Style().setIcon(new ItemStack(Items.WATER_BUCKET)).setTooltip("minelp.mode.wet", 0, 10) new Style().setIcon(new ItemStack(Items.WATER_BUCKET)).setTooltip("minelp.mode.wet", 0, 10)