mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-09 22:13:12 +00:00
parent
f509252646
commit
fa442f5903
23 changed files with 127 additions and 83 deletions
|
@ -42,11 +42,11 @@ public class DebugSaveTest extends SubCommand {
|
|||
public boolean onCommand(final PlotPlayer plr, final String[] args) {
|
||||
final ArrayList<Plot> plots = new ArrayList<Plot>();
|
||||
plots.addAll(PS.get().getPlots());
|
||||
MainUtil.sendMessage(null, "&6Starting `DEBUGSAVETEST`");
|
||||
MainUtil.sendMessage(plr, "&6Starting `DEBUGSAVETEST`");
|
||||
DBFunc.createPlotsAndData(plots, new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
MainUtil.sendMessage(null, "&6Database sync finished!");
|
||||
MainUtil.sendMessage(plr, "&6Database sync finished!");
|
||||
}
|
||||
});
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue