Skip to content

Commit

Permalink
[update] (idea 8156)チェスト破壊に関する警告をどちらともアクションバー表示にする
Browse files Browse the repository at this point in the history
  • Loading branch information
kory33 committed Aug 2, 2020
1 parent ff9cfe7 commit 1a1b262
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -89,7 +89,9 @@ object BreakUtil {
checkTarget.getType match {
case Material.CHEST | Material.TRAPPED_CHEST =>
if (!SeichiAssist.playermap(player.getUniqueId).chestflag) {
player.sendMessage(s"${RED}スキルでのチェスト破壊は無効化されています")
ActionBarMessageEffect(s"${RED}スキルでのチェスト破壊は無効化されています")
.run(player)
.unsafeRunSync()
true
} else if (!ManagedWorld.fromBukkitWorld(player.getWorld).exists(_.isSeichi)) {
ActionBarMessageEffect(s"${RED}スキルでのチェスト破壊は整地ワールドでのみ有効です")
Expand Down

0 comments on commit 1a1b262

Please sign in to comment.