Initial commit

This commit is contained in:
BuildTools committed 2020-12-07 16:55:44 +00:00
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");
}
}
}