9
0
mirror of https://github.com/HibiscusMC/HMCCosmetics.git synced 2025-12-20 23:49:18 +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" 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" description = "Intuitive, easy-to-use cosmetics plugin, designed for servers using resource packs.\n"
repositories { repositories {

View File

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

Binary file not shown.

View File

@@ -1,5 +1,5 @@
name: HMCCosmetics name: HMCCosmetics
version: 1.9.1 version: 1.9.3
main: io.github.fisher2911.hmccosmetics.HMCCosmetics main: io.github.fisher2911.hmccosmetics.HMCCosmetics
description: | description: |
Intuitive, easy-to-use cosmetics plugin, designed for servers using resource packs. 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; if (itemStack == null || guiItem.isEmpty()) continue;
guiItem.setItemStack( guiItem.setItemStack(
ItemBuilder.from(itemStack.clone()).papiPlaceholders(player).build() ItemBuilder.from(
this.applyPlaceholders(
user, player, guiItem, true
)
).build()
); );
gui.setItem(entry.getKey(), guiItem); gui.setItem(entry.getKey(), guiItem);