Have BukkitWorld.simulateBlockMine use Bukkit's dropNaturally

This commit is contained in:
zml2008 2012-02-11 15:46:29 -08:00
parent 9f1cc0674d
commit 0b548b2bac
2 changed files with 7 additions and 1 deletions

View File

@ -13,7 +13,8 @@
- Update for new events system
- Fixed /scriptname.js and no-double-slash settings not working
- Corrected usage message for maze.js
- Fixed mimimum height check for cylinder generation
- Fixed mimimum height check for cylinder generation
- Get the items to be dropped for a block break from Bukkit
5.1.1:
- Fixed some compatibility issues with SpoutPlugin

View File

@ -762,4 +762,9 @@ public class BukkitWorld extends LocalWorld {
return true;
}
@Override
public void simulateBlockMine(Vector pt) {
world.getBlockAt(pt.getBlockX(), pt.getBlockY(), pt.getBlockZ()).breakNaturally();
}
}