More translation stuff

git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1395 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
snowleo 2011-05-09 20:46:25 +00:00
parent 442e54ad6b
commit 4486a99a4e
5 changed files with 54 additions and 31 deletions

View file

@ -15,7 +15,7 @@ public class Console implements IReplyTo {
public static CommandSender getCommandSender(Server server) throws Exception {
if (! (server instanceof CraftServer)) {
throw new Exception("Invalid server!");
throw new Exception(Util.i18n("invalidServer"));
}
return ((CraftServer)server).getServer().console;
}