mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 21:26: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();
|
boolean hasTask = !globalTasks.isEmpty() || !playerTasks.isEmpty() || !plotTasks.isEmpty() || !clusterTasks.isEmpty();
|
||||||
if (hasTask) {
|
if (hasTask) {
|
||||||
try {
|
if (SQLManager.this.mySQL && System.currentTimeMillis() - last > 550000 || !isValid()) {
|
||||||
if (SQLManager.this.mySQL && System.currentTimeMillis() - last > 550000 || !isValid()) {
|
last = System.currentTimeMillis();
|
||||||
last = System.currentTimeMillis();
|
reconnect();
|
||||||
reconnect();
|
|
||||||
}
|
|
||||||
} catch (SQLException impossible) {
|
|
||||||
impossible.printStackTrace();
|
|
||||||
}
|
}
|
||||||
if (!sendBatch()) {
|
if (!sendBatch()) {
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user