mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-12 15:58:34 +00:00
Updated item/block lists, added Bukkit API for other plugins, moved some things around.
This commit is contained in:
@ -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() + "]");
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user