WARN Trying to update hotbar but the wand has gone missing
austin652 opened this issue ยท 31 comments
None of the spells are showing in the players hotbar or inventory and they can only use one spell, this wasn't happening before but now it is, I have no idea what the problem is. I've even swapped configs for an older one I had just to see if that fixed it and it didn't
A few other users on Discord have reported this. I currently have no idea what's causing it, but I have not seen it myself.
The message basically spells it out, the plugin thinks the player is holding a wand, is trying to update the hotbar, but the item the player is holding doesn't match the wand.
Not sure how this could happen (especially all of the sudden) unless you have some other plugin messing with the player's inventory.
None of the spells are showing in the players hotbar or inventory and they can only use one spell
What do you mean by this, exactly? Right-click on wands isn't working?
Alright so I just got more information on it myself, so what happens is that when a player opens their inventory to put spells in their hot bar, they can add it to the hot bar and it works but once they use that spell it just vanishes from their hotbar and wand
Are you using default configs? Wands in inventory mode? I'm not totally understanding what you mean about adding spells to the hotbar.
See how at the end after placing it and using it in the hot bar, it disappears from the inventory
It looks like the wand inventory just closed- if you hit right-click again is the hotbar still empty?
sorry it's a bit fast but at the end when you open click again yes, the hotbar is empty and the spell isn't in the wand anymore
Re:
It wasn't happening before
I don't suppose you have any idea what changed? Did you add any new plugins? Update the Magic plugin or spigot or anything?
And follow-up (sorry for all the questions)- when you get a new wand, does it start out with an empty hotbar like that?
I have not been able to reproduce any of this, so basically I'm just really confused at this point.
Can you try going back to 7.6.12?
I'm trying 7.6.13 myself and not seeing any of this. I'd be curious to know if the problem goes away on the previous version.
Still doesn't work but I noticed another warning
WARN Failed to save wand state for wand to : ItemStack{STICK x 0}
And did you update anything else on Sunday besides Magic? If it's not the plugin version it must be something else...
I've narrowed this down to a Spigot issue, I believe from this commit:
.. not sure what to do about it yet.
This is assuming you are on latest 1.13 Spigot, something I should've asked from the get-go.
I'm actually 4 versions behind the latest, git-Spigot-f823ac5-c1ecaa2 (MC: 1.13.1) (Implementing API version 1.13.1-R0.1-SNAPSHOT)
I have submitted a PR that fixes this issue. We'll have to wait for Spigot to accept it- in the meantime if you can go back to an older version of Spigot that should fix it for now.