Package org.spout.vanilla.inventory.player

Examples of org.spout.vanilla.inventory.player.PlayerCraftingInventory


    //Disconnecting
    if (pInv == null) {
      return;
    }

    PlayerCraftingInventory inventory = getPlayerInventory().getCraftingGrid();
    for (ItemStack item : inventory) {
      if (item != null) {
        getHuman().dropItem(item);
      }
    }
    inventory.clear();

    //Do not call super-close, DefaultWindow only pseudo-closes
    if (!(getPlayer().getEngine() instanceof Server)) {
      super.close();
    }
View Full Code Here

TOP

Related Classes of org.spout.vanilla.inventory.player.PlayerCraftingInventory

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.