Examples of ISpecialEnderChest


Examples of com.lishid.openinv.internal.ISpecialEnderChest

        if (inventory != null) {
            inventory.PlayerGoOnline(event.getPlayer());
        }

        ISpecialEnderChest chest = OpenInv.enderChests.get(event.getPlayer().getName().toLowerCase());

        if (chest != null) {
            chest.PlayerGoOnline(event.getPlayer());
        }
    }
View Full Code Here

Examples of com.lishid.openinv.internal.ISpecialEnderChest

    public void onPlayerQuit(PlayerQuitEvent event) {
        ISpecialPlayerInventory inventory = OpenInv.inventories.get(event.getPlayer().getName().toLowerCase());
        if (inventory != null) {
            inventory.PlayerGoOffline();
        }
        ISpecialEnderChest chest = OpenInv.enderChests.get(event.getPlayer().getName().toLowerCase());
        if (chest != null) {
            chest.PlayerGoOffline();
        }
    }
View Full Code Here

Examples of com.lishid.openinv.internal.ISpecialEnderChest

        // Record the target
        history = target.getName();
        openEnderHistory.put(player, history);

        // Create the inventory
        ISpecialEnderChest chest = OpenInv.enderChests.get(target.getName().toLowerCase());
        if (chest == null) {
            chest = InternalAccessor.Instance.newSpecialEnderChest(target, !offline);
        }

        // Open the inventory
        player.openInventory(chest.getBukkitInventory());

        return true;
    }
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.