Skip to content

Commit

Permalink
fix: hatコマンドでアイテムが増殖するのを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
rito528 committed Dec 20, 2023
1 parent 711bcf3 commit 14c3d4f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ object HatCommand {
TargetedEffect.delay[IO, Player] { p =>
// swapすることでアイテムの過不足を防ぐ
p.getInventory.setHelmet(mainHandItem)
p.getInventory.setItemInOffHand(currentHeadItem)
p.getInventory.setItemInMainHand(currentHeadItem)
},
MessageEffect("メインハンドに持っていたアイテムを頭にかぶりました。")
)
Expand Down

0 comments on commit 14c3d4f

Please sign in to comment.