--- miscJava/bukkit-minecraft-plugins/HoerupUtils/src/dk/thoerup/bukkit/hoeruputils/AdminDestroy.java 2011/04/23 14:07:47 1380 +++ miscJava/bukkit-minecraft-plugins/HoerupUtils/src/dk/thoerup/bukkit/hoeruputils/AdminDestroy.java 2011/04/23 14:32:49 1381 @@ -27,6 +27,7 @@ return false; if (! (sender instanceof Player) ) return false; + Player p = (Player) sender; if (destroyers.contains(p.getName())) { destroyers.remove( p.getName() ); @@ -69,7 +70,7 @@ int blockid = getThrowBlock(b); if (blockid != 0) { - ItemStack stack = new ItemStack(b.getTypeId(), 1); + ItemStack stack = new ItemStack(blockid, 1); b.getWorld().dropItem(b.getLocation(), stack); }