TPGamesNL
TPGamesNL
> But with that it won't be possible to do `toggle flight state of player` because `toggle` is ChangeMode here right? Yes that would be possible, TOGGLE is not a...
Shouldn't `"ABC" repeated 0 times` return an empty string? Also, `"ABC" repeated {_none} times` should return null IMO, not `"ABC"`, same with negative IMO. You can add a warning if...
Commenting as link so I don't have to copy-paste it: https://github.com/btk5h/skript-mirror/projects/2
This could be implemented when Skript adds a method like `Expression#getMap(Event)`. This could then be integrated into EffChange, Variable and the changer methods as well. However, one issue I foresee...
Yea I think I'm gonna try to fix it, even though it's probably bad practice
Look at MethodHandle, it might be helpful. https://docs.oracle.com/javase/8/docs/api/java/lang/invoke/MethodType.html#genericMethodType-int- https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/invoke/MethodHandles.Lookup.html#findVirtual(java.lang.Class,java.lang.String,java.lang.invoke.MethodType) It might not be doable, only the name of the method is available at parse time, and methods can have the...
> Look at MethodHandle, it might be helpful. > https://docs.oracle.com/javase/8/docs/api/java/lang/invoke/MethodType.html#genericMethodType-int- > > https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/invoke/MethodHandles.Lookup.html#findVirtual(java.lang.Class,java.lang.String,java.lang.invoke.MethodType) > > It might not be doable, only the name of the method is available at parse...
Reopening, not because I'm going to fix it, but because I gotta rethrow the exception to include more context (which class' members are being looked up, etc) https://pastebin.com/B1HCs3kt
The syntax has been changed since I made this issue, here's an example of the current syntax: ``` public class MyClass: private int myNumber public MyClass(int i): set this.myNumber to...
It hasn't been added, but I've been working on it locally, although there are still things left to be done