Package ch.njol.skript.lang

Examples of ch.njol.skript.lang.While


          if (c == null)
            continue;
          if (Skript.debug() || n.debug())
            Skript.debug(indentation + "while " + c.toString(null, true) + ":");
          final Kleenean hadDelayBefore = hasDelayBefore;
          items.add(new While(c, (SectionNode) n));
          if (hadDelayBefore != Kleenean.TRUE && hasDelayBefore != Kleenean.FALSE)
            hasDelayBefore = Kleenean.UNKNOWN;
        } else if (name.equalsIgnoreCase("else")) {
          if (items.size() == 0 || !(items.get(items.size() - 1) instanceof Conditional) || ((Conditional) items.get(items.size() - 1)).hasElseClause()) {
            Skript.error("'else' has to be placed just after an 'if' or 'else if' section");
View Full Code Here

TOP

Related Classes of ch.njol.skript.lang.While

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.