Skip to content

Commit

Permalink
[CORE] Add in Debug for the PlayerHead Command - I MISSED THIS MY BAD!
Browse files Browse the repository at this point in the history
Signed-off-by: Wolfieheart <[email protected]>
  • Loading branch information
Wolfieheart committed Dec 31, 2024
1 parent 4d05ce3 commit ce051d9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ private void commandGive(Player player) {

private void commandGivePlayerHead(Player player) {
if (player.hasPermission("asedit.head")) {
debug.log("[ArmorStandEditor-Debug] Creating a player head for the OfflinePlayer '" + player.getDisplayName() + "'");
OfflinePlayer offlinePlayer = player.getPlayer();
ItemStack item = new ItemStack(Material.PLAYER_HEAD, 1, (short) 3);
SkullMeta meta = (SkullMeta) item.getItemMeta();
Expand Down

0 comments on commit ce051d9

Please sign in to comment.