Package org.spout.vanilla.event.inventory

Examples of org.spout.vanilla.event.inventory.AnvilCloseEvent


    addInventoryConverter(new InventoryConverter(inventory, "0-3", new Vector2f[0]));
  }

  @Override
  public void close() {
    AnvilCloseEvent event = getPlayer().getEngine().getEventManager().callEvent(new AnvilCloseEvent(block, inventory, getPlayer()));
    if (event.isCancelled()) {
      return;
    }

    for (ItemStack item : inventory) {
      if (item != null) {
View Full Code Here

TOP

Related Classes of org.spout.vanilla.event.inventory.AnvilCloseEvent

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.