Closed Arcaneist closed 2 months ago
I'll check, will probably be something related with components
Issue confirmed.
Suspected issue: Deprecation of method getOfflinePlayer
.
// Set owner
if(goldenhead.getType() == Material.PLAYER_HEAD){
if(player.isPresent()){
((SkullMeta) itemMeta).setOwningPlayer(player.get());
} else {
((SkullMeta) itemMeta).setOwningPlayer(Bukkit.getOfflinePlayer(config.goldenHeads.getSkullOwner()));
}
}
Done, this issue will close as soon as #15 gets accepted by @Kikisito
The skin of the golden head is not working correctly on 1.21