mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 13:16:45 +01:00
*Fix compile error
This commit is contained in:
parent
8ebf71c87f
commit
deb5441bcf
@ -134,13 +134,9 @@ 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 (SQLManager.this.mySQL && System.currentTimeMillis() - last > 550000 || !isValid()) {
|
||||
last = System.currentTimeMillis();
|
||||
reconnect();
|
||||
}
|
||||
if (!sendBatch()) {
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user