Skip to content

Commit 7e6a01b

Browse files
committed
- Ragi-Lanternの射出位置を調整
1 parent 7c359ba commit 7e6a01b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/hiiragi283/ragium/common/item/HTRagiLanternItem.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class HTRagiLanternItem(properties: Properties) : Item(properties.durability(127
3535
override fun use(level: Level, player: Player, usedHand: InteractionHand): InteractionResultHolder<ItemStack?> {
3636
val stack: ItemStack = player.mainHandItem
3737
if (!level.isClientSide) {
38-
val flare = HTFlare(player, level, player.position().x, player.position().y, player.position().z)
38+
val flare = HTFlare(player, level, player.position().x, player.position().y + 1.0, player.position().z)
3939
flare.shootFromRotation(player, player.xRot, player.yRot, 0f, 1.5f, 1f)
4040
level.addFreshEntity(flare)
4141
stack.hurtAndBreak(1, player, LivingEntity.getSlotForHand(usedHand))

0 commit comments

Comments
 (0)