Open Fusezion opened 2 weeks ago
Currently addons have no real way of checking if operations for arithmetic are currently registered making usage of the register unsafe
you can catch the skriptapiexception
I feel that's more of a workaround rather than an actual solution
I feel that's more of a workaround rather than an actual solution
hows that?
Suggestion
Unprivate the
exactOperationExists
method on theArithmetics
classWhy?
Currently addons have no real way of checking if operations for arithmetic are currently registered making usage of the register unsafe
Other
Step to fix https://github.com/SkriptLang/Skript/blob/d82667540e5b8381456d87df0a6485c03517bddf/src/main/java/org/skriptlang/skript/lang/arithmetic/Arithmetics.java#L75-L81
Agreement