Broadcast effect errors on 1.9-1.11 #4951
Labels
bug
An issue that needs to be fixed. Alternatively, a PR fixing an issue.
legacy versions
Issues or PRs which are only applicable for the server versions 1.9-1.12
priority: medium
Issues that are detrimental to user experience (prohibitive bugs or lack of useful implementation).
Skript/Server Version
Bug Description
Using the broadcast effect with a VariableString (or formatted expr) will throw an NoSuchMethodError for CommandSender#spigot
Expected Behavior
Not to error
Steps to Reproduce
broadcast "abc"
Errors or Screenshots
No response
Other
CommandSender#spigot was introduced in 1.12, but Skript doesn't include checks for this. Solution would probably be to make EffBroadcast more like EffMessage.
Agreement
The text was updated successfully, but these errors were encountered: