fix(Access): fixed strings
All checks were successful
Build the Docker Image / docker (push) Successful in 5m32s

This commit is contained in:
Paul Fey 2025-06-07 15:32:24 +02:00
parent ebb56bddce
commit 4376dca315

View file

@ -81,7 +81,7 @@ public class CosmeticSocket implements SocketHandler, ListenerAdapter {
ConcurrentHashMap<String, Object> cosmetics = new ConcurrentHashMap<>(); ConcurrentHashMap<String, Object> cosmetics = new ConcurrentHashMap<>();
data.get("cosmetics").getAsJsonObject().entrySet().forEach(entry -> { data.get("cosmetics").getAsJsonObject().entrySet().forEach(entry -> {
if (isAllowedToHaveCosmetic(entry.getKey(), entry.getValue().toString(), uuid.toString())) cosmetics.put(entry.getKey(), entry.getValue()); if (isAllowedToHaveCosmetic(entry.getKey(), entry.getValue().toString().replace("\"", ""), uuid.toString())) cosmetics.put(entry.getKey(), entry.getValue());
}); });
ClientMapping mapping = new ClientMapping(uuid, cosmetics); ClientMapping mapping = new ClientMapping(uuid, cosmetics);