mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-10 06:23:14 +00:00
fixes
This commit is contained in:
parent
85c638362b
commit
bcd113146b
11 changed files with 32 additions and 25 deletions
|
@ -25,6 +25,7 @@ import com.intellectualcrafters.plot.PlotMain;
|
|||
import com.intellectualcrafters.plot.database.DBFunc;
|
||||
import com.intellectualcrafters.plot.object.Plot;
|
||||
import com.intellectualcrafters.plot.util.PlayerFunctions;
|
||||
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
@ -35,7 +36,7 @@ import java.util.ArrayList;
|
|||
public class DebugSaveTest extends SubCommand {
|
||||
|
||||
public DebugSaveTest() {
|
||||
super(Command.DEBUGCLAIMTEST, "This debug command will force the recreation of all plots in the DB", "debugsavetest", CommandCategory.DEBUG, false);
|
||||
super(Command.DEBUGSAVETEST, "This debug command will force the recreation of all plots in the DB", "debugsavetest", CommandCategory.DEBUG, false);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -46,7 +47,7 @@ public class DebugSaveTest extends SubCommand {
|
|||
DBFunc.createPlots(plots);
|
||||
DBFunc.createAllSettingsAndHelpers(plots);
|
||||
} else {
|
||||
PlayerFunctions.sendMessage(plr, "This debug command can only be executed by console as it has been deemed unsafe if abused.");
|
||||
PlayerFunctions.sendMessage(plr, "This debug command can only be executed by console as it has been deemed unsafe if abused");
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue