Item durability doesn't work

Published by Bribrixxx on Sun, 03/11/2018 - 15:31
Issue description

The "max item usage duration" and "item damage count..." options don't give any durability to the items

Issue comments

You need to use the event damage item to damage the item. Otherwise, it will just remain undamaged. So this works as designed. You can attach this event to On player hits entity with item only right now.

I will keep this issue open so we add the onBlockDestroyed event to the item event list so one can use damage item event result when the item is used to destroy a block.

Also to add, there's no way to get item damage to make a checker to see if it hits zero to break the item. it just has infinite uses when right clicking