Variation of the enemies/chests dropping items in walls. Except it happens when the player swaps a weapon on the ground with one in their inventory.