From c55c2cd12772e45c146bf757a6d480d6484be75f Mon Sep 17 00:00:00 2001 From: kirillsaint Date: Mon, 31 Jul 2023 19:18:09 +0600 Subject: [PATCH] Update CosmeticsGui.java --- .../net/silentclient/client/cosmetics/gui/CosmeticsGui.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/silentclient/client/cosmetics/gui/CosmeticsGui.java b/src/main/java/net/silentclient/client/cosmetics/gui/CosmeticsGui.java index 39a9579..9339428 100644 --- a/src/main/java/net/silentclient/client/cosmetics/gui/CosmeticsGui.java +++ b/src/main/java/net/silentclient/client/cosmetics/gui/CosmeticsGui.java @@ -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 {