Ploblem Building My First Extention

Since you’re learning I have a suggestion.
Instead of using an EventDispatcher I recommend:
Replacing “void” with “int” or “double” and “GotResult” with “return”

Something like this:
@SimpleFunction(description = “Add two numbers”)
public double Add(double num1, double num2) {
return num1+num2;
}

1 Like