Package ch.njol.skript.api

Examples of ch.njol.skript.api.Effect.run()


      return;
    final SubLog log = SkriptLogger.startSubLog();
    final Effect eff = Effect.parse(s, "can't understand this effect: '" + s + "'");
    log.stop();
    if (eff != null) {
      eff.run(e);
    } else {
      final CommandSender sender = Skript.getEventValue(e, CommandSender.class, 0);
      log.printErrors(sender == null ? Bukkit.getConsoleSender() : sender, null);
    }
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.