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

Enchantments making items disappear after first use #30

Closed TehBooris closed 3 years ago

TehBooris commented 3 years ago

Enchantments that affect a wide area make the tool disappear on the first use a lot of the time, noticed this a lot with Shred, Harvest and Spread.

TehBooris commented 3 years ago

Paper 1.16.4, plugin version 3.0.0-rc.3

scottyboii commented 3 years ago

Would this not be because of durability being used per block break? So if shred breaks 40 blocks it takes 40 durability?

I had similar issue but adding the ethereal enchantment or unbreakable nbt seems to function fine.

Geolykt commented 3 years ago

No it probably has to do with the optimisations done in 3.0.0-rc.2/rc.3, I'll what exactly causes this, I suspect an inverted conditional.

Tested to happen with reveal.

Edit: looks like I wasn't wrong, it is an inverted conditional