How to get the player's EnderChest

Discussion in 'Plugin Development' started by ewized, Mar 23, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    ewized

    I was wondering and cant seem to find out on how to get the players EnderChest inventory as I know that is being stored with the player and not the world so how would I get that inventory.
     
  2. Offline

    MCForger

    Like this?
    Code:
    Inventory inv = event.getPlayer().getEnderChest();
     
  3. Offline

    ewized

    Really It was that simple I facepalm my self I was looking into the wrong event placer. *facepalm*
     
  4. Offline

    MCForger

    Its fine everyone has those kinds of days.
     
Thread Status:
Not open for further replies.

Share This Page