diff options
author | Dico <dico.karssiens@gmail.com> | 2018-09-27 04:41:58 +0100 |
---|---|---|
committer | Dico <dico.karssiens@gmail.com> | 2018-09-27 04:41:58 +0100 |
commit | 307b7aee4af34e47139259db7049a85c682b7be2 (patch) | |
tree | 398ff3360f90e49cdc2a10d7872f6c6f787472bb /src/main/kotlin/io/dico/parcels2/defaultimpl/DefaultParcelGenerator.kt | |
parent | cdaba0ebd5b48d1f2d4579c873d83fdf6ea1a074 (diff) |
Tweaks
Diffstat (limited to 'src/main/kotlin/io/dico/parcels2/defaultimpl/DefaultParcelGenerator.kt')
-rw-r--r-- | src/main/kotlin/io/dico/parcels2/defaultimpl/DefaultParcelGenerator.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/io/dico/parcels2/defaultimpl/DefaultParcelGenerator.kt b/src/main/kotlin/io/dico/parcels2/defaultimpl/DefaultParcelGenerator.kt index 1c513f8..7ccb458 100644 --- a/src/main/kotlin/io/dico/parcels2/defaultimpl/DefaultParcelGenerator.kt +++ b/src/main/kotlin/io/dico/parcels2/defaultimpl/DefaultParcelGenerator.kt @@ -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 } |