3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-12-25 02:20:07 +01:00

Fixed the super pickaxe not working with bedrock and the recursive super pickaxe not working properly.

Dieser Commit ist enthalten in:
sk89q 2010-11-09 01:48:22 -08:00
Ursprung a444da5d68
Commit 1e21124acd

Datei anzeigen

@ -1566,7 +1566,7 @@ public class WorldEditListener extends PluginListener {
WorldEditSession.SuperPickaxeMode.SINGLE) {
Vector pos = new Vector(blockClicked.getX(),
blockClicked.getY(), blockClicked.getZ());
if (ServerInterface.getBlockType(pos) == 7 && canBedrock) {
if (ServerInterface.getBlockType(pos) == 7 && !canBedrock) {
return true;
} else if (ServerInterface.getBlockType(pos) == 46) {
return false;
@ -1647,6 +1647,8 @@ public class WorldEditListener extends PluginListener {
if (ServerInterface.getBlockType(pos) == initialType) {
ServerInterface.setBlockType(pos, 0);
} else {
return;
}
recursiveSuperPickaxe(pos.add(1, 0, 0).toBlockVector(), origin, size,