Package ch.njol.skript.SkriptLogger

Examples of ch.njol.skript.SkriptLogger.SubLog.stop()


    final String s = input.getSingle(e);
    if (s == null)
      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.