This commit is contained in:
Sollace 2018-08-23 01:13:08 +02:00
parent b46c082ae3
commit fef22c8223

View file

@ -198,7 +198,7 @@ public class GuiSkins extends GameGui implements ISkinUploadHandler {
protected void switchSkinMode(String model) {
playSound(SoundEvents.BLOCK_BREWING_STAND_BREW);
boolean thinArmType = model == "slim";
boolean thinArmType = "slim".equals(model);
btnModeSteve.enabled = thinArmType;
btnModeAlex.enabled = !thinArmType;