Update CosmeticsGui.java

This commit is contained in:
kirillsaint 2023-07-31 19:18:09 +06:00
parent 1500577551
commit c55c2cd127

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") ? "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 {