fix(Access): fixed strings
All checks were successful
Build the Docker Image / docker (push) Successful in 5m32s
All checks were successful
Build the Docker Image / docker (push) Successful in 5m32s
This commit is contained in:
parent
ebb56bddce
commit
4376dca315
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue