Fix the message format not being correct.

This commit is contained in:
graywolf336 2014-01-01 18:13:31 -06:00
parent 3f27410a7a
commit a7dacf42c1

View File

@ -91,7 +91,7 @@ public class JailIO {
* @return The message as a colorful message or an empty message if that isn't defined in the language file. * @return The message as a colorful message or an empty message if that isn't defined in the language file.
*/ */
public String getLanguageString(LangString langString, String... variables) { public String getLanguageString(LangString langString, String... variables) {
String message = lang.getString("language." + langString.getSection() + langString.getName()); String message = lang.getString("language." + langString.getSection() + "." + langString.getName());
if(message == null) return ""; if(message == null) return "";