final 1.3.1 beta
This commit is contained in:
parent
8b74761866
commit
0dee7fd2fb
3 changed files with 3 additions and 0 deletions
|
@ -28,6 +28,7 @@ public class SetExitLocation implements ICommand {
|
|||
newExitPosition.setX(player.getLocation().getBlockX());
|
||||
newExitPosition.setY(player.getLocation().getBlockY());
|
||||
newExitPosition.setZ(player.getLocation().getBlockZ());
|
||||
exitWorld = player.getLocation().getWorld().getName();
|
||||
exitPosition = newExitPosition;
|
||||
sender.sendMessage(messagePrefix + message("EXIT_SPAWN"));
|
||||
addToConfig("spawns.exit.x", exitPosition.getX());
|
||||
|
|
|
@ -28,6 +28,7 @@ public class SetLobbyLocation implements ICommand {
|
|||
newLobbyPosition.setX(player.getLocation().getBlockX());
|
||||
newLobbyPosition.setY(player.getLocation().getBlockY());
|
||||
newLobbyPosition.setZ(player.getLocation().getBlockZ());
|
||||
lobbyWorld = player.getLocation().getWorld().getName();
|
||||
lobbyPosition = newLobbyPosition;
|
||||
sender.sendMessage(messagePrefix + message("LOBBY_SPAWN"));
|
||||
addToConfig("spawns.lobby.x", lobbyPosition.getX());
|
||||
|
|
|
@ -34,6 +34,7 @@ public class SetSpawnLocation implements ICommand {
|
|||
sender.sendMessage(errorPrefix + message("WORLDBORDER_POSITION"));
|
||||
return;
|
||||
}
|
||||
spawnWorld = player.getLocation().getWorld().getName();
|
||||
spawnPosition = newSpawnPosition;
|
||||
sender.sendMessage(messagePrefix + message("GAME_SPAWN"));
|
||||
addToConfig("spawns.game.x", spawnPosition.getX());
|
||||
|
|
Loading…
Reference in a new issue