Package ch.njol.skript.lang.function.Functions

Examples of ch.njol.skript.lang.function.Functions.FunctionData


  @SuppressFBWarnings("ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD")
  public ScriptFunction(final String name, final Parameter<?>[] parameters, final SectionNode node, @Nullable final ClassInfo<T> returnType, final boolean single) {
    super(name, parameters, returnType, single);
   
    // here to allow recursion
    Functions.functions.put(name, new FunctionData(this));
   
    Functions.currentFunction = this;
    try {
      trigger = new Trigger(node.getConfig().getFile(), "function " + name, new SimpleEvent(), ScriptLoader.loadItems(node));
    } finally {
View Full Code Here

TOP

Related Classes of ch.njol.skript.lang.function.Functions.FunctionData

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.