Fixed SQLReconnect not working

This commit is contained in:
bm01 2012-05-01 07:52:38 +02:00
parent 97511be64a
commit d235ca8ed8

View File

@ -16,7 +16,7 @@ public class SQLReconnect implements Runnable {
@Override
public void run() {
if (Database.isConnected()) {
if (!Database.isConnected()) {
Database.connect();
if (Database.isConnected()) {
for (PlayerProfile x : Users.players.values()) {