revert some changes

This commit is contained in:
Jesse Boyd
2019-04-05 15:48:41 +11:00
parent 94d5d8df8e
commit be5541b61b
18 changed files with 29 additions and 51 deletions

View File

@ -300,7 +300,7 @@ public class RegionCommands extends MethodCommands {
@Command(
aliases = { "/replace", "/re", "/rep" },
usage = "[from-block] <to-block>",
usage = "[from-mask] <to-pattern>",
desc = "Replace all blocks in the selection with another",
flags = "f",
min = 1,

View File

@ -669,7 +669,7 @@ public class SelectionCommands {
@Command(
aliases = {"/count"},
usage = "<block>",
usage = "<mask>",
desc = "Counts the number of a certain type of block",
flags = "d",
min = 1,

View File

@ -104,7 +104,7 @@ public class ToolCommands {
@Command(
aliases = {"repl"},
usage = "<block>",
usage = "<pattern>",
desc = "Block replacer tool",
min = 1,
max = 1

View File

@ -372,7 +372,7 @@ public class UtilityCommands extends MethodCommands {
@Command(
aliases = {"/removenear", "removenear"},
usage = "<block> [size]",
usage = "<mask> [size]",
desc = "Remove blocks near you.",
min = 1,
max = 2

View File

@ -37,7 +37,7 @@ public class CylinderBrush implements Brush {
@Override
public void build(EditSession editSession, BlockVector3 position, Pattern pattern, double size) throws MaxChangedBlocksException {
if (pattern == null) {
pattern = new BlockPattern(BlockTypes.COBBLESTONE.getDefaultState());
pattern = (BlockTypes.COBBLESTONE.getDefaultState());
}
editSession.makeCylinder(position, pattern, size, size, height, true);
}

View File

@ -37,7 +37,7 @@ public class HollowCylinderBrush implements Brush {
@Override
public void build(EditSession editSession, BlockVector3 position, Pattern pattern, double size) throws MaxChangedBlocksException {
if (pattern == null) {
pattern = new BlockPattern(BlockTypes.COBBLESTONE.getDefaultState());
pattern = (BlockTypes.COBBLESTONE.getDefaultState());
}
editSession.makeCylinder(position, pattern, size, size, height, false);
}

View File

@ -31,7 +31,7 @@ public class HollowSphereBrush implements Brush {
@Override
public void build(EditSession editSession, BlockVector3 position, Pattern pattern, double size) throws MaxChangedBlocksException {
if (pattern == null) {
pattern = new BlockPattern(BlockTypes.COBBLESTONE.getDefaultState());
pattern = (BlockTypes.COBBLESTONE.getDefaultState());
}
editSession.makeSphere(position, pattern, size, size, size, false);
}

View File

@ -31,7 +31,7 @@ public class SphereBrush implements Brush {
@Override
public void build(EditSession editSession, BlockVector3 position, Pattern pattern, double size) throws MaxChangedBlocksException {
if (pattern == null) {
pattern = new BlockPattern(BlockTypes.COBBLESTONE.getDefaultState());
pattern = (BlockTypes.COBBLESTONE.getDefaultState());
}
editSession.makeSphere(position, pattern, size, size, size, true);
}