HandRestock not working with armor on Armor Stands
moltenwolfcub opened this issue ยท 0 comments
Overview
The HandRestock feature doesn't appear to work with armor pieces being placed on armor stands.
Steps to Reproduce
- Place an armor stand down
- Obtain 2 identical pieces of armor
- Hold one in your hand and leave one in a slot in your inventory
- Make sure you're in survival or adventure mode (the armor item doesn't get used up if you're in creative so the restock wouldn't apply)
- Right click on the armor stand putting the armor item onto it
Expected Behaviour
The behaviour I'd expect is that when I place the armor piece onto the armor stand my hand would be refilled with another piece that I have in my inventory (it wouldn't take from my armor slots though).
Extra Information
- I have checked that the feature is correctly working with other, non-armor items (like restocking food and rockets).
- It behaves the same with other armor types and pieces than the leather boots in the video below so it isn't related to the armor being dyeable
- The items have the same NBT as I have tested this with items straight out of the creative inventory
My setup
The video below is on a fabric survival server (with carpet) however behaviour seems the same on a server (in the video) and in singleplayer.
Tweakeroo 0.16.0
MaLilib 0.15.2
Minecraft 1.19.4
Fabric Loader 0.14.21
Fabric API 0.83.0+1.19.4 (not sure tweakaroo actually needs this but I have it for other mods)
I have the rest of your mods(itemScroller, miniHud, etc), carpet and the sodium set installed along with a few others however I don't see any of the others having any effect on this feature. (If they're of relevance to fixing this, just ask and I can give you a full list.)