Skript icon indicating copy to clipboard operation
Skript copied to clipboard

Broadcast effect errors on 1.9-1.11

Open TPGamesNL opened this issue 2 years ago • 0 comments

Skript/Server Version

2.6.3, Spigot 1.10

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

  • [X] I have read the guidelines above and affirm I am following them with this report.

TPGamesNL avatar Jul 24 '22 20:07 TPGamesNL