MiraculixxT / Veinminer

Mine the whole vein at the same time
14 stars 2 forks source link

Durability is broken #12

Open 7elia opened 1 month ago

7elia commented 1 month ago

I can't speak for the other versions of the plugin/mod (fabric, etc.), but I am using the paper version on my server and when I break a vein (could be as small as 3 blocks) it will take like 100 durability from my pick. I think it is because you are not damaging the tool whenever a block is broken, but instead you're damaging it on every iteration, so it will take 1 durability away for every neighbor of the ore block and the ore block itself.

MiraculixxT commented 1 month ago

Thank you for the report, the durability reduction is only performed if the block is valid (the right block type) and not yet processed. I'll test it on the latest paper version later today again to see if the issue persist and try to find the source.

7elia commented 1 month ago

Hi, did you find a way to reproduce it? The pickaxe used was a max enchanted netherite pickaxe. Thanks

MiraculixxT commented 1 month ago

Sorry for the delay, i'm on vacation at the moment and wasn't able to test everything on my laptop. It may take a day or two more

MiraculixxT commented 1 month ago

So i tested it on latest paper and Veinminer version for 1.20.1 and can not reproduce this error. All durability on tools is subtracted the exact amount of blocks it broke. Can you share your settings files (settings, groups, blocks) and maybe the server logs, so i could replicated your exact setup?