1.7.0 rc3

This commit is contained in:
Tyler Murphy 2023-02-05 13:47:49 -05:00
parent 0ea945d84e
commit 8541dbe99e
2 changed files with 2 additions and 1 deletions

View file

@ -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);
}

View file

@ -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) {