mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-23 04:57:58 +01:00
.equals
This commit is contained in:
parent
b46c082ae3
commit
fef22c8223
1 changed files with 1 additions and 1 deletions
|
@ -198,7 +198,7 @@ public class GuiSkins extends GameGui implements ISkinUploadHandler {
|
||||||
protected void switchSkinMode(String model) {
|
protected void switchSkinMode(String model) {
|
||||||
playSound(SoundEvents.BLOCK_BREWING_STAND_BREW);
|
playSound(SoundEvents.BLOCK_BREWING_STAND_BREW);
|
||||||
|
|
||||||
boolean thinArmType = model == "slim";
|
boolean thinArmType = "slim".equals(model);
|
||||||
|
|
||||||
btnModeSteve.enabled = thinArmType;
|
btnModeSteve.enabled = thinArmType;
|
||||||
btnModeAlex.enabled = !thinArmType;
|
btnModeAlex.enabled = !thinArmType;
|
||||||
|
|
Loading…
Reference in a new issue