mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2025-02-15 12:02:48 +01:00
Merge pull request #3156 from Multiverse/zax71/mv5/improvedLocation
This commit is contained in:
commit
d9cf3f50ee
@ -29,10 +29,10 @@ public class SetSpawnCommand extends CoreCommand {
|
||||
this.worldManager = worldManager;
|
||||
}
|
||||
|
||||
@CommandAlias("mvsetspawn")
|
||||
@CommandAlias("mvsetspawn|mvss")
|
||||
@Subcommand("setspawn")
|
||||
@CommandPermission("multiverse.core.spawn.set")
|
||||
@Syntax("[location]")
|
||||
@Syntax("[x],[y],[z],[pitch],[yaw]")
|
||||
@Description("{@@mv-core.setspawn.description}")
|
||||
void onSetSpawnCommand(
|
||||
BukkitCommandIssuer issuer,
|
||||
@ -57,6 +57,6 @@ public class SetSpawnCommand extends CoreCommand {
|
||||
}
|
||||
|
||||
private String prettyLocation(Location location) {
|
||||
return location.getX() + ", " + location.getY() + ", " + location.getZ();
|
||||
return location.getX() + ", " + location.getY() + ", " + location.getZ() + ". pitch:" + location.getPitch() + ", yaw:" + location.getYaw();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user