-
-
Notifications
You must be signed in to change notification settings - Fork 370
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
Make EffBroadcast calls BroadcastMessageEvent #5979
Make EffBroadcast calls BroadcastMessageEvent #5979
Conversation
private static final Pattern HEX_PATTERN = Pattern.compile("(?i)&x((?:&\\p{XDigit}){6})"); | ||
|
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.
Would it be worth while making a public static final for this in Utils
? we currently have this created in utils, raw string and now effect broadcast.
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.
I would love to honestly, but I'm afraid that such changes seems out of scope of this PR for the team. So I'll leave this as is.
bd134d0
to
3f08853
Compare
Description
This PR makes EffBroadcast calls for BroadcastMessageEvent. This comment onwards has explained the reasons of why EffBroadcast is implemented in such ways.
JUnit tests can be added after Skript has support of listening to this event.
Target Minecraft Versions: any
Requirements: -
Related Issues: #5617