Updater keeps regenerating stats when enabled on an item
Created by: Daxxas
Describe the bug Les objets sont update tout le temps quand on intéragit avec dans l'inventaire lorsque l'updater est activé dessus
To Reproduce Steps to reproduce the behavior:
- Make an item
- Toggle the updater on it
- Take it from your inventory, place it back, twice
- Stats have changed
Expected behavior The stats should be changed only once
Screenshots https://puu.sh/DPlV6/64c0a452d1.gif
Server info:
-
Spigot Build & Version [11:29:45 INFO]: This server is running CraftBukkit version git-Spigot-1a3504a-dfa7583 (MC: 1.13.2) (Implementing API version 1.13.2-R0.1-SNAPSHOT) [11:29:45 INFO]: This is a final build for 1.13.2. Please see https://www.spigotmc.org/go/1.13.2 for details about upgrading.
-
Plugin Version Latest version