mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 14:38:52 +00:00
Added /spawn and dynmap integration
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user