1.7.0 rc3
This commit is contained in:
parent
0ea945d84e
commit
8541dbe99e
2 changed files with 2 additions and 1 deletions
|
@ -40,6 +40,7 @@ public class Send implements ICommand {
|
|||
}
|
||||
|
||||
Main.getInstance().getGame().setCurrentMap(map);
|
||||
Main.getInstance().getBoard().reloadLobbyBoards();
|
||||
for(Player player : Main.getInstance().getBoard().getPlayers()) {
|
||||
map.getLobby().teleport(player);
|
||||
}
|
||||
|
|
|
@ -87,7 +87,7 @@ public class Location {
|
|||
public void teleport(Player player) {
|
||||
if(!exists()) return;
|
||||
if(load() == null) return;
|
||||
Main.getInstance().scheduleTask(() -> player.teleport(toBukkit()));
|
||||
player.teleport(toBukkit());
|
||||
}
|
||||
|
||||
public Location changeWorld(String world) {
|
||||
|
|
Loading…
Reference in a new issue