Updated item/block lists, added Bukkit API for other plugins, moved some things around.

This commit is contained in:
sk89q
2011-01-16 09:39:11 -08:00
parent 3b9fe1b0c4
commit 80d7bbfa3c
19 changed files with 473 additions and 101 deletions

View File

@ -37,8 +37,8 @@ public class QueryTool implements SuperPickaxeMode {
BaseBlock block = (new EditSession(server, world, 0)).rawGetBlock(clicked);
player.print("\u00A79@" + clicked + ": " + "\u00A7e"
+ "Type: " + block.getID() + "\u00A77" + " ("
+ BlockType.fromID(block.getID()).getName() + ") "
+ "Type: " + block.getType() + "\u00A77" + " ("
+ BlockType.fromID(block.getType()).getName() + ") "
+ "\u00A7f"
+ "[" + block.getData() + "]");

View File

@ -94,7 +94,7 @@ public class RecursivePickaxe implements SuperPickaxeMode {
visited.add(pos);
if (editSession.getBlock(pos).getID() == initialType) {
if (editSession.getBlock(pos).getType() == initialType) {
if (drop) {
world.simulateBlockMine(pos);
}