Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-26 02:50:06 +01:00
Fixed the super pickaxe not working with bedrock and the recursive super pickaxe not working properly.
Dieser Commit ist enthalten in:
Ursprung
a444da5d68
Commit
1e21124acd
@ -1566,7 +1566,7 @@ public class WorldEditListener extends PluginListener {
|
|||||||
WorldEditSession.SuperPickaxeMode.SINGLE) {
|
WorldEditSession.SuperPickaxeMode.SINGLE) {
|
||||||
Vector pos = new Vector(blockClicked.getX(),
|
Vector pos = new Vector(blockClicked.getX(),
|
||||||
blockClicked.getY(), blockClicked.getZ());
|
blockClicked.getY(), blockClicked.getZ());
|
||||||
if (ServerInterface.getBlockType(pos) == 7 && canBedrock) {
|
if (ServerInterface.getBlockType(pos) == 7 && !canBedrock) {
|
||||||
return true;
|
return true;
|
||||||
} else if (ServerInterface.getBlockType(pos) == 46) {
|
} else if (ServerInterface.getBlockType(pos) == 46) {
|
||||||
return false;
|
return false;
|
||||||
@ -1647,6 +1647,8 @@ public class WorldEditListener extends PluginListener {
|
|||||||
|
|
||||||
if (ServerInterface.getBlockType(pos) == initialType) {
|
if (ServerInterface.getBlockType(pos) == initialType) {
|
||||||
ServerInterface.setBlockType(pos, 0);
|
ServerInterface.setBlockType(pos, 0);
|
||||||
|
} else {
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
recursiveSuperPickaxe(pos.add(1, 0, 0).toBlockVector(), origin, size,
|
recursiveSuperPickaxe(pos.add(1, 0, 0).toBlockVector(), origin, size,
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren