Magic

Magic

190k Downloads

Player Skull Wands Don't Work With Right-Click

NathanWolf opened this issue ยท 3 comments

commented

A wand based on a player skull (like a Hunter Heart) doesn't register right-click events, or at least won't respond to "right_click: cast"

Issue raised by millmilla on spigotmc

commented

Wasn't there a commit in which you fixed this?

commented

Yes, I just forgot to close this- thanks!

Fixed in 3e90ad5

commented

Though I'll note it was a bit of a hack, the main issue is that skulls are wearable and the plugin assumes right-clicking with a wearable item means wear it.

However, for whatever reason, right-clicking a skull doesn't (currently) wear it. If that ever changes, I'll want to remove this code and right-click with skull wands won't work again.