9
0
mirror of https://github.com/HibiscusMC/HMCCosmetics.git synced 2025-12-19 15:09:19 +00:00

fix: dyed cosmetic item not updated

This commit is contained in:
Boy0000
2025-05-10 00:07:19 +02:00
parent 45eb1fa668
commit b366f5930b

View File

@@ -414,7 +414,7 @@ public class CosmeticUser implements CosmeticHolder {
if (colors.containsKey(cosmetic.getSlot())) {
Color color = colors.get(cosmetic.getSlot());
NMSHandlers.getHandler().getUtilHandler().setColor(item, color);
item = NMSHandlers.getHandler().getUtilHandler().setColor(item, color);
}
}
return item;