1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-10 08:34:17 +02:00

Creating info.txt, if it does not exist.

git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1418 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
snowleo
2011-05-10 21:58:08 +00:00
parent 6d03a81a04
commit dbefd52bbd
2 changed files with 2 additions and 1 deletions

View File

@@ -60,6 +60,7 @@ public class Commandinfo extends EssentialsCommand
else
{
sender.sendMessage(Util.i18n("infoFileDoesNotExist"));
file.createNewFile();
return;
}

View File

@@ -162,7 +162,7 @@ healOther = \u00a77Healed {0}.
helpPages = Page \u00a7c {0} \u00a7f of \u00a7c {1} \u00a7f:
helpConsole = To view help from the console, type ?.
helpOp = \u00a7c[HelpOp]\u00a7f \u00a77 {0} :\u00a7f {1}
infoFileDoesNotExist = File info.txt does not exist.
infoFileDoesNotExist = File info.txt does not exist. Creating one for you.
infoPages = Page \u00a7c {0} \u00a7f of \u00a7c {1} \u00a7f:
infoChapter = Select chapter:
infoUnknownChapter = Unknown chapter: