-
-
Notifications
You must be signed in to change notification settings - Fork 416
SkriptEvent - Since array support #7706
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
SkriptEvent - Since array support #7706
Conversation
|
Maybe this can come out of draft? Considering none of the team members has yet to review it or point out anything that may or may not be flawed. |
I probably could yeah, still needing to figure out how to get the template for loading the html |
|
Pssss, Fuse, rename title |
|
Is this breaking for addons (or does it require them to be recompiled) due to the method signature changes? E.g. how does an addon like SkBee load up with this? |
|
From my understanding this would be a signature change, I could probably fix it with deprecation of original method, I based this off of original array support for For addons this at most might just force them to compile against whatever version this is added in but things like SkriptHubDocsTool it is a breaking change around the board as the get method will return an array regardless |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems fine, though maintaining the since(String) method as deprecated for backcompat would be preferred imo
APickledWalrus
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just about ready
src/main/java/org/skriptlang/skript/bukkit/registration/BukkitSyntaxInfos.java
Outdated
Show resolved
Hide resolved
src/main/java/org/skriptlang/skript/bukkit/registration/BukkitSyntaxInfosImpl.java
Outdated
Show resolved
Hide resolved
src/main/java/org/skriptlang/skript/bukkit/registration/BukkitSyntaxInfosImpl.java
Outdated
Show resolved
Hide resolved
I'll look into the last one here shortly Co-authored-by: Patrick Miller <apickledwalrus@gmail.com>
…event-since-array-support
src/main/java/org/skriptlang/skript/bukkit/registration/BukkitSyntaxInfosImpl.java
Outdated
Show resolved
Hide resolved
src/main/java/org/skriptlang/skript/bukkit/registration/BukkitSyntaxInfosImpl.java
Outdated
Show resolved
Hide resolved
…SyntaxInfosImpl.java Co-authored-by: Patrick Miller <apickledwalrus@gmail.com>
…pport' into enhancement/event-since-array-support
Description
This PR aims to support since as an array on skript events, I would need some help getting a local version up for ensuring html is loading correct, I've confirmed that the json does work as expected. However html requires a template which I do not have nor can I find.
The PR was based off of how the since annotation was implemented so long as that had no issues I'm not expecting any here either.
Target Minecraft Versions: any
Requirements: none
Related Issues: #7590