Skip to content

Commit

Permalink
fix: ガチャが引けない不具合を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
rito528 committed Sep 17, 2023
1 parent 7f8e042 commit 2d52d7f
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ class SkullItemStackBuilder(private val owner: SkullOwnerReference)
/**
* 参加したことのないプレーヤーはgetOfflinePlayerでデータが取れないのでこうするしか無い
*/
// noinspection ScalaDeprecation
meta.setOwner(name)
meta.setOwningPlayer(Bukkit.getOfflinePlayer(name))

/**
* @see
Expand Down

0 comments on commit 2d52d7f

Please sign in to comment.