This commit is contained in:
Jesse Boyd 2016-04-09 22:48:27 +10:00
parent 9ba3b06854
commit 588f5d7ebc
3 changed files with 2 additions and 3 deletions

View File

@ -134,7 +134,7 @@ public class MainCommand extends Command {
@Override
public void run(final Command cmd, final Runnable success, final Runnable failure) {
if (cmd.hasConfirmation(player) ) {
CmdConfirm.addPending(player, "/plot area create pos2 (Creates world)", new Runnable() {
CmdConfirm.addPending(player, cmd.getUsage(), new Runnable() {
@Override
public void run() {
if (EconHandler.manager != null) {

View File

@ -290,7 +290,6 @@ public enum C {
TASK_START("Starting task...", "Core"),
PREFIX("$3[$1P2$3] $2", "Core"),
ENABLED("$1PlotSquared is now enabled", "Core"),
EXAMPLE_MESSAGE("$2This is an example message &k!!!", "Core"),
/*
* Reload
*/

View File

@ -721,7 +721,7 @@ public class MainUtil {
expires = String.format("%d days", TimeUnit.MILLISECONDS.toDays(l));
}
}
} else {
} else if (ExpireManager.IMP != null) {
long timestamp = ExpireManager.IMP.getTimestamp(plot.owner);
long compared = System.currentTimeMillis() - timestamp;
long l = Settings.AUTO_CLEAR_DAYS - TimeUnit.MILLISECONDS.toDays(compared);