Changes in newer version?

Discussion in 'Plugin Development' started by bluegru, Oct 11, 2013.

Thread Status:
Not open for further replies.
  1. Are there some changes in the newer Version?
    A code in my plugin stopped working after the update,
    And this

    Code:java
    1. ItemStack item = new ItemStack(Material.REDSTONE);


    works only in the main class, (only in 1.4.6)
     
  2. What is meant by "stopped working"?
     
  3. Offline

    Florianis

    You may use
    Code:java
    1. ItemStack item = new ItemStack(Material.REDSTONE, 1);


    That should work.
     
    bluegru likes this.
  4. thx, works,

    btw, I use
    Code:java
    1. w.dropItem(p.getLocation().add(0, 1, 0), item);

    to drop the item,
    the player shouldn't be able to pick up the item
    how would I do this (maybe without a PickUpItemEvent)?
     
Thread Status:
Not open for further replies.

Share This Page