Skip to content

Crossbow Cartridges Torch placement failure shouldn't play the place sound #1187

@runcows

Description

@runcows

Currently, block.wood.place is played for fired crossbow cartridges torches even when the torches fail to place. Failure to place happens when there's already a torch in the target block or if the target block isn't of #gm4:replaceable. This playsound is currently in the gm4_crossbow_cartridges:projectile/<torch>/check functions.

Likely what we should do is move this playsound command into the gm4_crossbow_cartridges:projectile/<torch>/place functions. Additionally, we could have a different sound play when the torch fails to place, potentially entity.item.pickup or another similar item pop sound.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions