Geolykt / EnchantmentsPlus

Enchantments+, a Bukkit Custom Enchantments Plugin based on Zenchantments targetted at production grade servers
GNU General Public License v3.0
38 stars 15 forks source link

Stock enchantment not refilling hand #55

Closed chrismwiggs closed 3 years ago

chrismwiggs commented 3 years ago

Unless I am misunderstanding how the stock enchantment works, it appears to be broken. Trying it by putting a stack of stone in my inventory and putting 3 stone in my hot bar. Place the 3 stone and expected the stone from my inventory to be auto moved to my current slot., but no luck. Tried with the extra blocks in my hotbar too, still doesn't get moved over. Not in offhand either.

Paper 1.16.5 Enchants+ 3.1.5

Geolykt commented 3 years ago

While looking at the code I cannot immediately spot the cause of the defined behaviour, however I did find a few unrelated issues concerning it, which I will take a look at (especially on whether it actually is a reason for caution).

To how Stock works, it will only refill when the stack is empty