mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
Have BukkitWorld.simulateBlockMine use Bukkit's dropNaturally
This commit is contained in:
parent
9f1cc0674d
commit
0b548b2bac
@ -14,6 +14,7 @@
|
||||
- Fixed /scriptname.js and no-double-slash settings not working
|
||||
- Corrected usage message for maze.js
|
||||
- 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
|
||||
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user