mirror of
https://github.com/HibiscusMC/HMCCosmetics.git
synced 2026-01-04 15:41:45 +00:00
fix(CosmeticUser): getCosmetics() changes
This commit is contained in:
@@ -37,7 +37,7 @@ public abstract class Data {
|
||||
data = "HIDDEN=" + user.getHiddenReason();
|
||||
}
|
||||
}
|
||||
for (Cosmetic cosmetic : user.getCosmetic()) {
|
||||
for (Cosmetic cosmetic : user.getCosmetics()) {
|
||||
Color color = user.getCosmeticColor(cosmetic.getSlot());
|
||||
String input = cosmetic.getSlot() + "=" + cosmetic.getId();
|
||||
if (color != null) input = input + "&" + color.asRGB();
|
||||
|
||||
Reference in New Issue
Block a user