Skip to content

Commit

Permalink
fix: 棒のメッセージが長すぎるのを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
rito528 committed Dec 19, 2023
1 parent 8f28b11 commit 12ed462
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ object StickCommand {
val executor: TabExecutor = playerCommandBuilder
.buildWithExecutionF { context =>
// 初見プレイヤー用とは別に簡潔な説明
val stickLore = List("棒を持って右クリックもしくは左クリックでメニューを開きます。", "各メニューの詳細は公式サイトで確認できます。")
val stickLore = List(
"""棒を持って右クリックもしくは
|左クリックでメニューを開きます。""".stripMargin,
"各メニューの詳細は公式サイトで確認できます。"
)
val stickItemStack = new ItemStack(Material.STICK, 1).tap { itemStack =>
import itemStack._
val meta = getItemMeta
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@ class PlayerJoinListener extends Listener {
"この棒を持って右クリックもしくは左クリックするとメニューが開きます。",
"メニューからはいろんな機能が使えます。試してみよう。",
"この棒をなくしても /stick コマンドを実行すると再入手できます。",
"ヒント: もしサーバー内で迷子になったら /spawn コマンドを実行することでいつでも戻れます。"
"""ヒント: もしサーバー内で迷子になったら /spawn
| コマンドを実行することでいつでも戻れます。""".stripMargin
)
val stick = new ItemStack(Material.STICK, 1).tap { itemStack =>
import itemStack._
Expand Down

0 comments on commit 12ed462

Please sign in to comment.