Solved Adding ItemStack to Specific Slot

Discussion in 'Plugin Development' started by spy85, Mar 30, 2014.

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

    spy85

    I need to add a certain ItemStack into a specific slot, #8, but how can I accomplish this? Bukkit doesn't seem to have a method for adding ItemStacks to specific slots in the player's inventory.

    Thanks.
     
  2. Offline

    ShadowLAX

    spy85 It does, p.getInventory().setItem(ItemStack, slot #);
     
    spy85 likes this.
  3. Offline

    spy85

    Thank you!
     
  4. Offline

    ShadowLAX

Thread Status:
Not open for further replies.

Share This Page