Update CosmeticsGui.java

This commit is contained in:
kirillsaint 2023-07-31 23:58:40 +06:00
parent c55c2cd127
commit 6097a704c8

View File

@ -478,7 +478,7 @@ public class CosmeticsGui extends SilentScreen {
} else if(selectedCategory == "bandanas") {
Client.getInstance().getAccount().setSelectedBandana(m.getId());
} else if(selectedCategory == "hats") {
Client.getInstance().getAccount().setSelectedHat(m.getId(), m.getModel().equals("gold_chain") ? "neck" : m.getModel().equals("facemask") || m.getModel().equals("wichtiger_glasses") ? "mask" : "hat");
Client.getInstance().getAccount().setSelectedHat(m.getId(), m.getModel().equals("gold_chain") ? "neck" : (m.getModel().equals("facemask") || m.getModel().equals("wichtiger_glasses")) ? "mask" : "hat");
} else if(selectedCategory == "shields") {
Client.getInstance().getAccount().setSelectedShield(m.getId());
} else {