You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When I reload the skript, the exception happened
To reproduce
Execute Skript reload command, then it happened
These are my codes:
import:
com.meowj.langutils.lang.LanguageHelper
on swap items:
if player is sneaking:
set {_p} to player
set {_b} to target block of {_p}
set {_type} to {_b}.getType()
set {_localeType} to LanguageHelper.getMaterialName({_type}, {_p})
send action bar "&a你看向的方块是:&f %{_localeType}%" to {_p}
Expected behavior
Reload normally
Screenshots
No
Server information
skript-reflect: 2.2.3
Skript: 2.6
Bukkit: 1.18.1-R0.1-SNAPSHOT
Minecraft: 1.18.1
Java: 17.0.1 (Java HotSpot(TM) 64-Bit Server VM 17.0.1+12-LTS-39)
That plugin isn't made for your server version, it depends on server classes that aren't present in 1.18. This makes it so the classes aren't really accessible anymore reflectively, so skript-reflect throws an exception (#20)
You should update that plugin to get a version that supports your server version
Describe the bug
When I reload the skript, the exception happened
To reproduce
Execute Skript reload command, then it happened
These are my codes:
Expected behavior
Reload normally
Screenshots
No
Server information
Additional context
This is error log: https://paste.ubuntu.com/p/v2TCwnbbB9/
The text was updated successfully, but these errors were encountered: