dropItemNaturally() bug?

Discussion in 'Plugin Development' started by Mariusz, Feb 11, 2011.

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

    Mariusz

    When I'm passing
    Code:
    ItemStack(Material.IRON_INGOT, 1)
    To it, it drops water. While:
    Code:
    ItemStack(Material.COAL_ORE, 1)
    Spawns burning furnace.

    Anyone knows why? >.<

    Ofc I'm using it like that:
    Code:
    dropItemNaturally(e.getBlock().getLocation(), new ItemStack(Material.IRON_INGOT, 1))
    Where "e" is event.
     
  2. Offline

    xpansive

    Try just using dropItem(), as dropItemNaturally() simply offsets the location by a random amount and calls that. I would assume its some change in the net.minecraft.server classes though because something like that should not normally happen.
     
Thread Status:
Not open for further replies.

Share This Page