Closed mfnalex closed 3 years ago
Dismissed PR because using EventPriority.MONITOR is not recommended. Changed to EventPriority.HIGHEST.
Highest will not work. You should use MONITOR since you don't really change the itemstack itself
Highest will not work. You should use MONITOR since you don't really change the itemstack itself
But I change the lore of the itemstack until the ItemSpawnEvent, where this lore line is removed and the required amount of time is added. EventPriority.MONITOR is not intended for this kind of action and may cause conflicts with other plugins.
You change the itemstack, but not the event. Well I don't care, but it will be a 50/50 chance if this will work with AngelChest as AngelChest also listens on HIGHEST. You don't cancel the event or alter it in any way so there is no problem using MONITOR.
changed EventPriority to avoid items collected by the AngelChest plugin being tagged with the [pdd] lore, fixes #1