diff --git a/Plugins/Mineplex.Core/src/mineplex/core/punish/UI/staff/PunishStaffPage.java b/Plugins/Mineplex.Core/src/mineplex/core/punish/UI/staff/PunishStaffPage.java index 02b3fd2a0..df7114ec8 100644 --- a/Plugins/Mineplex.Core/src/mineplex/core/punish/UI/staff/PunishStaffPage.java +++ b/Plugins/Mineplex.Core/src/mineplex/core/punish/UI/staff/PunishStaffPage.java @@ -14,9 +14,9 @@ import mineplex.core.account.CoreClient; import mineplex.core.common.Pair; import mineplex.core.common.util.C; import mineplex.core.common.util.LineFormat; +import mineplex.core.common.util.UtilSkull; import mineplex.core.common.util.UtilText; import mineplex.core.common.util.UtilTime; -import mineplex.core.itemstack.ItemStackFactory; import mineplex.core.punish.Category; import mineplex.core.punish.Punish; import mineplex.core.punish.Punishment; @@ -56,14 +56,7 @@ public class PunishStaffPage extends PunishPage private ItemStack buildPlayerSkull() { - ItemStack playerSkull = ItemStackFactory.Instance.createPlayerSkull(_target); - - ItemMeta playerSkullMeta = playerSkull.getItemMeta(); - playerSkullMeta.setDisplayName(C.cGreenB + _target); - playerSkullMeta.setLore(Arrays.asList("", C.mBody + _reason)); - playerSkull.setItemMeta(playerSkullMeta); - - return playerSkull; + return UtilSkull.getPlayerHead(_target, C.cGreenB, UtilText.splitLine(C.Reset + "Reason: " + C.mBody + _reason, LineFormat.LORE)); } private ShopItem buildDummyCategoryIcon(Category category)