Plugin Help Inventory Issues

Discussion in 'Plugin Help/Development/Requests' started by IIxUnderWorldxII, Nov 15, 2014.

Thread Status:
Not open for further replies.
  1. I've been trying to code a inventory opened by a command, I've been trying for ages but it wont work, here's my code.
  2. Online

    timtower Administrator Administrator Moderator

    Inventory inv = null;
    Try to change that first.
    tomudding likes this.
  3. timtower I followed tutorials, looked everywhere yet it wont open when I run the command, The other commands work but it doesn't seem to open this Inventory.
  4. Offline


    Check if the sender is a player

    1. if(cmd.getName().equalsIgnoreCase("pets")) {
    2. p.sendMessage(ChatColor.DARK_AQUA + "[CS]" + ChatColor.WHITE + " Opening the CS Pet Menu"); p.openInventory(inv);
Thread Status:
Not open for further replies.

Share This Page