Weapons with souls should not get experience for breaking blocks, only for fighting mobs.
Actual Behavior
Swords with the refractive trait, possibly ones without, can gain experience on their gem soul by breaking phantom lights. In my case, while the player is holding a sword with the refractive trait they can hold the left and right mouse button down to spawn a phantom light and then break it, gaining experience for breaking the block. Experience is also gained for placing the phantom light, and together it gives roughly 19 experience.
Links/Images
(Link)
(Another link, if needed)
Steps to Reproduce the Problem
Simply make a sword with the refractive trait (such as the one attached) and break phantom lights with it.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Versions
Expected Behavior
Weapons with souls should not get experience for breaking blocks, only for fighting mobs.
Actual Behavior
Swords with the refractive trait, possibly ones without, can gain experience on their gem soul by breaking phantom lights. In my case, while the player is holding a sword with the refractive trait they can hold the left and right mouse button down to spawn a phantom light and then break it, gaining experience for breaking the block. Experience is also gained for placing the phantom light, and together it gives roughly 19 experience.
Links/Images
Steps to Reproduce the Problem