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

Fixed placeholders not appearing on items in GUI menu

This commit is contained in:
MasterOfTheFish
2022-02-23 08:53:25 -05:00
parent d12a5d090f
commit 59dbee34ae
7 changed files with 8 additions and 4 deletions

View File

@@ -7,7 +7,7 @@ plugins {
}
group = "io.github.fisher2911"
version = "1.9.2"
version = "1.9.3"
description = "Intuitive, easy-to-use cosmetics plugin, designed for servers using resource packs.\n"
repositories {

View File

@@ -1,5 +1,5 @@
name: HMCCosmetics
version: 1.9.1
version: 1.9.3
main: io.github.fisher2911.hmccosmetics.HMCCosmetics
description: |
Intuitive, easy-to-use cosmetics plugin, designed for servers using resource packs.

Binary file not shown.

View File

@@ -1,5 +1,5 @@
name: HMCCosmetics
version: 1.9.1
version: 1.9.3
main: io.github.fisher2911.hmccosmetics.HMCCosmetics
description: |
Intuitive, easy-to-use cosmetics plugin, designed for servers using resource packs.

View File

@@ -82,7 +82,11 @@ public class DyeSelectorGui extends CosmeticGui {
if (itemStack == null || guiItem.isEmpty()) continue;
guiItem.setItemStack(
ItemBuilder.from(itemStack.clone()).papiPlaceholders(player).build()
ItemBuilder.from(
this.applyPlaceholders(
user, player, guiItem, true
)
).build()
);
gui.setItem(entry.getKey(), guiItem);