mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-28 00:17:11 +00:00
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:
parent
442e54ad6b
commit
4486a99a4e
5 changed files with 54 additions and 31 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue