mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 14:38:52 +00:00
Initial commit
This commit is contained in:
commit
d3a787be67
8 files changed
+419
No files matched your search
@@ -0,0 +1,15 @@
|
||||
package me.william278.huskhomes2;
|
||||
|
||||
import me.william278.huskhomes2.Objects.TeleportationPoint;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
public class teleportManager {
|
||||
|
||||
private static void teleportPlayer(Player p, TeleportationPoint teleportationPoint) {
|
||||
if (teleportationPoint.getServer().equals(Main.server)) {
|
||||
p.teleport(teleportationPoint.getLocation());
|
||||
messageHandler.sendMessage(p, "teleport_success");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user