Added /spawn and dynmap integration

This commit is contained in:
William278 committed 2020-12-15 21:47:28 +00:00
1 parent 36e3756f9c
commit d5f534296d
13 files changed
+424 -34

No files matched your search

@@ -13,6 +13,8 @@ public class teleportManager {
public static HashSet<TimedTeleport> queuedTeleports = new HashSet<>();
public static TeleportationPoint spawnLocation = null;
public static void teleportPlayer(Player player, String targetPlayer) {
dataManager.setPlayerLastPosition(player, new TeleportationPoint(player.getLocation(), Main.settings.getServerID()));
setPlayerDestinationFromTargetPlayer(player, targetPlayer);