Auxilor / EcoItems

Custom items plugin for the latest spigot version
GNU General Public License v3.0
50 stars 27 forks source link

effectiveDurability is broken #31

Open Sedri05 opened 2 years ago

Sedri05 commented 2 years ago

Describe the bug Effective Durability currently does not work.

To Reproduce Steps to reproduce the behavior:

  1. Create a for example iron sword
  2. Give it like 4000 custom durability
  3. Spawn some mobs
  4. Each hit on a mob will remove 1 durability

Expected behavior Not sure but i think it should take 4000 uses before the item gets destroyed and should not lose 1 per use

Server Information (please complete the following information):

PrimalPower commented 2 years ago

I have an armour set with like 800 effective durability. It gets hit by an attack and it either instantly breaks or takes no durability damage