Auxilor / EcoItems

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

Effective Durability doesn't work #28

Closed luizsusin closed 2 years ago

luizsusin commented 2 years ago

Describe the bug Changing effective durability on item config won't change anything.

To Reproduce

  1. Change item.effectiveDurability from any item to any value you want;
  2. Restart the server (or reload the plugin etc);
  3. Try it out.

Expected behavior Durabillity should be different from the vanilla item's durability based on the value set in the config.

Server Information (please complete the following information):

WillFP commented 2 years ago

Effective durability works like unbreaking; doesn't change the value shown to the player (as its hardcoded) and instead makes the durability decrease slower/faster, ie if an item has 400 durability in minecraft but you set the effective durability to 800 then it will decrease half as quickly