*Fix compile error

This commit is contained in:
Jesse Boyd 2016-11-24 11:05:28 +11:00
parent 8ebf71c87f
commit deb5441bcf
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -134,14 +134,10 @@ public class SQLManager implements AbstractDB {
}
boolean hasTask = !globalTasks.isEmpty() || !playerTasks.isEmpty() || !plotTasks.isEmpty() || !clusterTasks.isEmpty();
if (hasTask) {
try {
if (SQLManager.this.mySQL && System.currentTimeMillis() - last > 550000 || !isValid()) {
last = System.currentTimeMillis();
reconnect();
}
} catch (SQLException impossible) {
impossible.printStackTrace();
}
if (!sendBatch()) {
try {
if (!getNotifyTasks().isEmpty()) {