Give spout items

Discussion in 'Bukkit Discussion' started by vasil7112, Jun 9, 2012.

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

    vasil7112

    Hello,
    I have a problem.
    If an item is on spout, and you want to give it to someone, how can you do it?
    E.x i am using guns+ and i want to create on playersdeath drop ammo. the ammo is the id 318:7(Flint:7).
    Well, when i do this, it gives me flint, not ammo.
    Any fixes please?!
     
  2. Offline

    ZNickq

    SpoutItemStack spoutStack = new SpoutItemStack(yourCustomMaterial, amount);

    player.getInventory().addItem(spoutStack());
     
Thread Status:
Not open for further replies.

Share This Page