diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/Target.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/Target.java index 99eb8269d..6d507888b 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/Target.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/Target.java @@ -40,7 +40,7 @@ public class Target extends SubCommand { return false; } if (args.length == 1) { - final PlotId id = MainUtil.parseId(args[1]); + final PlotId id = MainUtil.parseId(args[0]); if (id == null) { MainUtil.sendMessage(plr, C.NOT_VALID_PLOT_ID); return false; diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/generator/HybridGen.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/generator/HybridGen.java index 07d304dba..93160525c 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/generator/HybridGen.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/generator/HybridGen.java @@ -144,15 +144,6 @@ public class HybridGen extends PlotGenerator { return Arrays.asList((PlotPopulator) new HybridPop(this.plotworld)); } - /** - * Return the default spawn location for this world - */ -// public Location getFixedSpawnLocation(final World world, final Random random) { -// if (this.plotworld == null) { -// return new Location(world, 0, 128, 0); -// } -// return new Location(world, 0, this.plotworld.ROAD_HEIGHT + 2, 0); -// } /** * This part is a fucking mess. - Refer to a proper tutorial if you would like to learn how to make a world