Archived
0
This commit is contained in:
Dico
2018-09-27 04:41:58 +01:00
parent cdaba0ebd5
commit 307b7aee4a
19 changed files with 166 additions and 256 deletions

View File

@@ -219,7 +219,7 @@ class DefaultParcelGenerator(
skullBlock.type = Material.PLAYER_HEAD
val skull = skullBlock.state as Skull
if (owner is PlayerProfile.Real) {
skull.owningPlayer = owner.playerUnchecked
skull.owningPlayer = Bukkit.getOfflinePlayer(owner.uuid)
} else {
skull.owner = owner.name
}