This commit is contained in:
TomyLobo 2011-11-02 03:41:22 +01:00
parent 187896c5ed
commit ff03d03fd7
2 changed files with 6 additions and 6 deletions

View File

@ -325,11 +325,11 @@ public class GenerationCommands {
Vector unit; Vector unit;
if (args.hasFlag('r')) { if (args.hasFlag('r')) {
zero = new Vector(0,0,0); zero = new Vector(0, 0, 0);
unit = new Vector(1,1,1); unit = new Vector(1, 1, 1);
} else if (args.hasFlag('o')) { } else if (args.hasFlag('o')) {
zero = session.getPlacementPosition(player); zero = session.getPlacementPosition(player);
unit = new Vector(1,1,1); unit = new Vector(1, 1, 1);
} else { } else {
final Vector min = region.getMinimumPoint(); final Vector min = region.getMinimumPoint();
final Vector max = region.getMaximumPoint(); final Vector max = region.getMaximumPoint();

View File

@ -349,11 +349,11 @@ public class RegionCommands {
Vector unit; Vector unit;
if (args.hasFlag('r')) { if (args.hasFlag('r')) {
zero = new Vector(0,0,0); zero = new Vector(0, 0, 0);
unit = new Vector(1,1,1); unit = new Vector(1, 1, 1);
} else if (args.hasFlag('o')) { } else if (args.hasFlag('o')) {
zero = session.getPlacementPosition(player); zero = session.getPlacementPosition(player);
unit = new Vector(1,1,1); unit = new Vector(1, 1, 1);
} else { } else {
final Vector min = region.getMinimumPoint(); final Vector min = region.getMinimumPoint();
final Vector max = region.getMaximumPoint(); final Vector max = region.getMaximumPoint();