mirror of
https://github.com/darksaid98/nightcore-spigot.git
synced 2026-12-01 14:38:47 +00:00
head skin fix in GUI
This commit is contained in:
1 parent
abc8d5d054
commit
a3b43068e1
1 file changed
+1
-1
@@ -189,7 +189,7 @@ public abstract class AbstractMenu<P extends NightPlugin> implements Menu {
|
||||
if (item.getPlayerProfile() != null) {
|
||||
item.getPlayerProfile().update().thenAccept(updated -> {
|
||||
MenuItem overlap = this.getItem(viewer, slot);
|
||||
if (overlap != null && overlap.getPriority() >= menuItem.getPriority()) return;
|
||||
if (overlap != null && overlap != menuItem && overlap.getPriority() >= menuItem.getPriority()) return;
|
||||
|
||||
ItemUtil.editMeta(itemStack, SkullMeta.class, updated::apply);
|
||||
inventory.setItem(slot, itemStack);
|
||||
|
||||
Reference in new issue
Block a user