/[projects]/miscJava/bukkit-minecraft-plugins/HoerupUtils/src/dk/thoerup/bukkit/hoeruputils/PowerMiner.java |
Parent Directory | Revision Log | Patch
revision 1382 by torben, Sat Apr 23 14:37:31 2011 UTC | revision 1383 by torben, Sat Apr 23 14:40:49 2011 UTC | |
---|---|---|
# | Line 71 public class AdminDestroy extends BlockL | Line 71 public class AdminDestroy extends BlockL |
71 | ||
72 | if (blockid != 0) { | if (blockid != 0) { |
73 | ItemStack stack = new ItemStack(blockid, 1); | ItemStack stack = new ItemStack(blockid, 1); |
74 | b.getWorld().dropItem(b.getLocation(), stack); | b.getWorld().dropItemNaturally(b.getLocation(), stack); |
75 | } | } |
76 | ||
77 | } | } |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |