Package org.bukkit.event.inventory

Examples of org.bukkit.event.inventory.InventoryCloseEvent


        }
    }

    public void closeMenu(Player player) {
        if (getInventory().getViewers().contains(player)) {
            InventoryCloseEvent event = new InventoryCloseEvent(player.getOpenInventory());
            Bukkit.getPluginManager().callEvent(event);
            player.closeInventory();
        }
    }
View Full Code Here

TOP

Related Classes of org.bukkit.event.inventory.InventoryCloseEvent

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.