/[projects]/miscJava/bukkit-minecraft-plugins/HoerupUtils/src/dk/thoerup/bukkit/hoeruputils/AdminDestroy.java
ViewVC logotype

Diff of /miscJava/bukkit-minecraft-plugins/HoerupUtils/src/dk/thoerup/bukkit/hoeruputils/AdminDestroy.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch 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                          }                          }

Legend:
Removed from v.1382  
changed lines
  Added in v.1383

  ViewVC Help
Powered by ViewVC 1.1.20