Merge pull request #11 from Silent-Client/TEST2

Update CosmeticsGui.java
This commit is contained in:
kirillsaint 2023-07-31 23:58:54 +06:00 committed by GitHub
commit ff7859fb1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -478,7 +478,7 @@ public class CosmeticsGui extends SilentScreen {
} else if(selectedCategory == "bandanas") { } else if(selectedCategory == "bandanas") {
Client.getInstance().getAccount().setSelectedBandana(m.getId()); Client.getInstance().getAccount().setSelectedBandana(m.getId());
} else if(selectedCategory == "hats") { } 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") { } else if(selectedCategory == "shields") {
Client.getInstance().getAccount().setSelectedShield(m.getId()); Client.getInstance().getAccount().setSelectedShield(m.getId());
} else { } else {