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
Issue:
String representation of an expression shows incorrectly
Versions:
Skript 2.2-dev25
PaperSpigot 8b18730
Minecraft 1.8.8
skript-mirror 0.8.3
Script:
get expression not multiple:
continue
command error:
trigger:
loop not multiple:
Output:
[20:59:39 INFO]: [Skript] Reloading tests.sk...
[20:59:41 ERROR]: Can't loop com.btk5h.skriptmirror.skript.custom.CustomExpression$ExpressionHandler@ff4b47e because it's only a single value (tests.sk, line 71: loop not multiple:')
[20:59:41 INFO]: [Skript] Encountered 1 error while reloading tests.sk!
The text was updated successfully, but these errors were encountered:
Interesting. Skript uses both Object#toString() and Debuggable#toString(Event, boolean). Skript's SimpleExpression helper class automatically overrides toString() to return toString(null, false), which is why most other expressions work completely fine.
I have a few other classes that extend Expression instead of SimpleExpression, so it looks like I'll need to update those as well.
Issue:
String representation of an expression shows incorrectly
Versions:
Script:
Output:
The text was updated successfully, but these errors were encountered: