-
-
Notifications
You must be signed in to change notification settings - Fork 380
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EventValue Changers #7485
Comments
I get the utility here, but I think the immutability of the event values is important. Changing the event-player midway through a long event can be pretty confusing if you're reading back the code a few months later, or if you're trying to understand it. Curious to see what others think here though |
This statement confuses me. The whole reason for Bukkit calling events is so plugins can manipulate the outcome of the event. As an addon dev, its super frustrating having to create single expressions for single events, just so someone can manipulate the outcome of said event.
Correct me if Im wrong, but is there a single event in Bukkit that you can change the player? Lets take a quick peak at the PlayerItemDamageEvent |
this isn't a skript feature?!? i thought you meant changing what skript thinks the event-value is that is used in the rest of the method, so it'd only update in skript, not also on the event |
Suggestion
I would like to suggest the option to have changers in EventValues
Why?
As of right now all you can do is GET, but you cannot modify the event-values.
This would be handy in cases where I wanna do something like
set event-value to some new value
Other
No response
Agreement
The text was updated successfully, but these errors were encountered: