Fix seapony toggles (again) and center the skin manager title

This commit is contained in:
Sollace 2018-07-27 16:27:19 +02:00
parent 2716de4b4b
commit 94b01a460f
2 changed files with 7 additions and 7 deletions

View file

@ -193,7 +193,7 @@ public class GuiSkins extends GameGui {
panorama.init();
addButton(new Label(width / 2, 10, "hdskins.manager", 0xffffff));
addButton(new Label(width / 2, 10, "hdskins.manager", 0xffffff, true));
addButton(new Button(30, height - 36, 60, 20, "Browse...", sender ->{
selectedSkin = null;

View file

@ -42,10 +42,14 @@ public class GuiSkinsMineLP extends GuiSkins {
super.initGui();
addButton(btnModeWet = new GuiItemStackButton(2, 99, new ItemStack(Items.WATER_BUCKET), sender -> {
if (!isWet) {
setWet(true);
}
})).setTooltip("minelp.mode.wet");
addButton(btnModeDry = new GuiItemStackButton(2, 80, new ItemStack(Items.BUCKET), sender -> {
if (isWet) {
setWet(false);
}
})).setTooltip("minelp.mode.dry");
setWet(false);
@ -59,10 +63,6 @@ public class GuiSkinsMineLP extends GuiSkins {
}
protected void setWet(boolean wet) {
if (isWet == wet) {
return;
}
isWet = wet;
localPlayer.releaseTextures();