mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
Fixed SQLReconnect not working
This commit is contained in:
parent
97511be64a
commit
d235ca8ed8
@ -16,7 +16,7 @@ public class SQLReconnect implements Runnable {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
if (Database.isConnected()) {
|
if (!Database.isConnected()) {
|
||||||
Database.connect();
|
Database.connect();
|
||||||
if (Database.isConnected()) {
|
if (Database.isConnected()) {
|
||||||
for (PlayerProfile x : Users.players.values()) {
|
for (PlayerProfile x : Users.players.values()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user