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

Fixed color issue in dye menu

This commit is contained in:
HeroBrineGoat
2022-01-13 19:28:02 -05:00
parent f21749a45d
commit d7a8cac2e2

View File

@@ -133,7 +133,7 @@ public class ItemSerializer implements TypeSerializer<GuiItem> {
if (colorNode.virtual()) {
color = null;
} else {
color = Color.fromBGR(redNode.getInt(), greenNode.getInt(), blueNode.getInt());
color = Color.fromRGB(redNode.getInt(), greenNode.getInt(), blueNode.getInt());
}
final Map<Enchantment, Integer> enchantments =