Abort update text

This commit is contained in:
snowleo 2011-10-26 22:27:43 +02:00
parent 76f8cb96ca
commit 7622c5c510
2 changed files with 12 additions and 10 deletions

View file

@ -66,7 +66,9 @@ public abstract class AbstractState
final String trimmedAnswer = answer.trim();
if (trimmedAnswer.equalsIgnoreCase("quit")
|| trimmedAnswer.equalsIgnoreCase("bye")
|| trimmedAnswer.equalsIgnoreCase("abort"))
|| trimmedAnswer.equalsIgnoreCase("abort")
|| trimmedAnswer.equalsIgnoreCase("cancel")
|| trimmedAnswer.equalsIgnoreCase("exit"))
{
abort();
return null;

View file

@ -61,11 +61,11 @@ public class Changelog extends AbstractState
}
if (pages > 1)
{
sender.sendMessage("Select a page by typing the numbers 1 to " + pages + " to view all changes and then type confirm to update Essentials.");
sender.sendMessage("Select a page by typing the numbers 1 to " + pages + " to view all changes and then type confirm or abort.");
}
else
{
sender.sendMessage("Type confirm to update Essentials.");
sender.sendMessage("Type confirm to update Essentials or abort to cancel the update.");
}
}