mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-10 22:35:29 +00:00
Cleanup
This commit is contained in:
parent
c09c5b048e
commit
ec80151cd9
25 changed files with 417 additions and 371 deletions
|
@ -97,13 +97,19 @@ public class SQLManager implements AbstractDB {
|
|||
TaskManager.runTaskRepeat(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
try {
|
||||
SQLManager.this.connection = PlotSquared.getMySQL().forceConnection();
|
||||
} catch (final Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
TaskManager.runTaskAsync(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
try {
|
||||
System.out.print("CONNECTIN");
|
||||
SQLManager.this.connection = PlotSquared.getMySQL().forceConnection();
|
||||
} catch (final Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
}, 11000);
|
||||
}, 1);
|
||||
}
|
||||
updateTables();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue