mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-04 09:10:17 +01:00
Fixes #1047
This commit is contained in:
parent
9ba3b06854
commit
588f5d7ebc
@ -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) {
|
||||
|
@ -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
|
||||
*/
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user