mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-01-19 16:59:36 +01:00
Fix compass targeting
This commit is contained in:
parent
01c640b72f
commit
38fde4eae4
@ -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;
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user