Have BukkitWorld.simulateBlockMine use Bukkit's dropNaturally

Dieser Commit ist enthalten in:
zml2008 2012-02-11 15:46:29 -08:00
Ursprung 9f1cc0674d
Commit 0b548b2bac
2 geänderte Dateien mit 7 neuen und 1 gelöschten Zeilen

Datei anzeigen

@ -14,6 +14,7 @@
- Fixed /scriptname.js and no-double-slash settings not working - Fixed /scriptname.js and no-double-slash settings not working
- Corrected usage message for maze.js - 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: 5.1.1:
- Fixed some compatibility issues with SpoutPlugin - Fixed some compatibility issues with SpoutPlugin

Datei anzeigen

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