#Spigot API changes
1 messages · Page 1 of 1 (latest)
React: 1️⃣ For calling if behavior changed or 2️⃣ If you wanna call everytime the itemstack is changed
The more data we can pull out from an event, the more useful it is
First to reach 5 reactions will get used
Yeah but i think MD will hate that behavior xD
They aint 2 seperate events
With the new itemstack
wich will most likely break plugins listening to the dispenser rather than the item
currently there is no way around not calling it again if the new itemstack's dispense behavior is different
It already calls if again if the dispense behavior is different because thats how the genius who made this in the first place set this up
your ticket is specific,fix whats in it,rn the problem is the player equips the original item even if a new one is set
Dont forget https://hub.spigotmc.org/jira/browse/SPIGOT-6023
They are the same system
its not unrelated
the ticket you are fixing says item is not properly set
dont also fix something from another one
I was fixing 6023 i encountered 6745
as the changelog needs to remain relevant
if you will fix both problems do a ticket for each
yes separate them
:painexe:
Fine that sucks tho
That still causes the event to trigger again if the dispensebehavior is different
Another question: Currently when you change the itemstack in the event the original itemstack stays inside of the dispenser and does not get subtracted.
Do you guys think this behavior should stay or should the original itemstack get subtracted by 1