mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 15:16:45 +01:00
*Fix compile error
This commit is contained in:
parent
8ebf71c87f
commit
deb5441bcf
@ -134,14 +134,10 @@ 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 {
|
||||||
if (!getNotifyTasks().isEmpty()) {
|
if (!getNotifyTasks().isEmpty()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user