mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 14:38:52 +00:00
Started SQLite work
This commit is contained in:
1 parent
d3a787be67
commit
559e38fc4b
21 files changed
+788
-65
No files matched your search
@@ -6,9 +6,9 @@ import org.bukkit.entity.Player;
|
||||
public class teleportManager {
|
||||
|
||||
private static void teleportPlayer(Player p, TeleportationPoint teleportationPoint) {
|
||||
if (teleportationPoint.getServer().equals(Main.server)) {
|
||||
if (teleportationPoint.getServer().equals(Main.settings.getServerID())) {
|
||||
p.teleport(teleportationPoint.getLocation());
|
||||
messageHandler.sendMessage(p, "teleport_success");
|
||||
messageManager.sendMessage(p, "teleport_success");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user