Fix compass targeting

This commit is contained in:
boy0001 2015-03-28 12:29:38 +11:00
parent 01c640b72f
commit 38fde4eae4
2 changed files with 1 additions and 10 deletions

View File

@ -40,7 +40,7 @@ public class Target extends SubCommand {
return false; return false;
} }
if (args.length == 1) { if (args.length == 1) {
final PlotId id = MainUtil.parseId(args[1]); final PlotId id = MainUtil.parseId(args[0]);
if (id == null) { if (id == null) {
MainUtil.sendMessage(plr, C.NOT_VALID_PLOT_ID); MainUtil.sendMessage(plr, C.NOT_VALID_PLOT_ID);
return false; return false;

View File

@ -144,15 +144,6 @@ public class HybridGen extends PlotGenerator {
return Arrays.asList((PlotPopulator) new HybridPop(this.plotworld)); 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 * This part is a fucking mess. - Refer to a proper tutorial if you would like to learn how to make a world