Package ch.njol.skript.aliases

Examples of ch.njol.skript.aliases.ItemType


        if (i instanceof Slot)
          ((Slot) i).setItem(is);
        else if (ChangerUtils.acceptsChange(getExpr(), ChangeMode.SET, ItemStack.class))
          getExpr().change(e, new Object[] {i}, ChangeMode.SET);
        else
          getExpr().change(e, new ItemType[] {new ItemType((ItemStack) i)}, ChangeMode.SET);
      }
    } else {
      for (final Object o : getExpr().getArray(e)) {
        if (o instanceof LivingEntity || o instanceof Player)
          type.set(o, name);
View Full Code Here

TOP

Related Classes of ch.njol.skript.aliases.ItemType

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.