mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 14:38:52 +00:00
Fixed some SQL bugs, but more work is needed
This commit is contained in:
1 parent
44eef2ff30
commit
252cb37983
5 files changed
+87
-50
No files matched your search
@@ -16,7 +16,9 @@ public class onPlayerJoin implements Listener {
|
||||
Player p = e.getPlayer();
|
||||
|
||||
// Create player on SQL if they don't exist already
|
||||
dataManager.createPlayer(p);
|
||||
if (!dataManager.playerExists(p)) {
|
||||
dataManager.createPlayer(p);
|
||||
}
|
||||
|
||||
// If bungee mode, check if the player joined the server from a teleport and act accordingly
|
||||
if (Main.settings.doBungee()) {
|
||||
|
||||
Reference in new issue
Block a user