GM4_Datapacks
GM4_Datapacks copied to clipboard
Crossbow Cartridges Torch placement failure shouldn't play the place sound
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.