Extend command rollback time. Closes #136

Addresses http://www.totalfreedom.boards.net/thread/9531/problem-suggestion
This commit is contained in:
unknown 2014-04-23 16:38:47 +02:00
parent c7c2795f41
commit f3cb57c9cd
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ public class Command_rollback extends TFM_Command
TFM_Util.adminAction(sender.getName(), "Rolling back player: " + playerName, false);
playerMsg("Rolled back " + TFM_RollbackManager.rollback(playerName) + " edits for " + playerName + ".");
playerMsg("If this rollback was a mistake, use /rollback undo " + playerName + " within 20 seconds to reverse the rollback.");
playerMsg("If this rollback was a mistake, use /rollback undo " + playerName + " within 40 seconds to reverse the rollback.");
}
}
else if (args.length == 2)

View File

@ -115,7 +115,7 @@ public class TFM_RollbackManager
purgeEntries(playerName);
}
}
}.runTaskLater(TotalFreedomMod.plugin, 20L * 20L);
}.runTaskLater(TotalFreedomMod.plugin, 40L * 20L);
return count;
}