Examples of AnvilCloseEvent


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
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.