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:
@@ -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 {
|
||||||
|
|||||||
Binary file not shown.
@@ -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.
@@ -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.
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user