mirror of
https://github.com/HibiscusMC/HMCCosmetics.git
synced 2025-12-29 03:49:19 +00:00
Added dyeing menu
This commit is contained in:
@@ -76,11 +76,9 @@ public class CosmeticsCommand extends CommandBase {
|
||||
case BACKPACK -> user.getPlayerArmor().getBackpack();
|
||||
};
|
||||
|
||||
new DyeSelectorGui("test", 3, Map.of(
|
||||
10, Color.fromRGB(1, 2, 3),
|
||||
11, Color.fromRGB(0, 0, 255)
|
||||
), armorItem
|
||||
).getGui(user).open(player);
|
||||
player.sendMessage("Opening dye menu");
|
||||
|
||||
this.cosmeticsMenu.openDyeSelectorGui(user, armorItem);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user