Started SQLite work

This commit is contained in:
[email protected] authored and William278 committed 2020-12-07 22:56:33 +00:00
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");
}
}