From a7dacf42c16abd87903b1dba978f372bfc4034dd Mon Sep 17 00:00:00 2001 From: graywolf336 Date: Wed, 1 Jan 2014 18:13:31 -0600 Subject: [PATCH] Fix the message format not being correct. --- src/main/java/com/graywolf336/jail/JailIO.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/graywolf336/jail/JailIO.java b/src/main/java/com/graywolf336/jail/JailIO.java index e21eb28..3a9674d 100644 --- a/src/main/java/com/graywolf336/jail/JailIO.java +++ b/src/main/java/com/graywolf336/jail/JailIO.java @@ -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. */ 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 "";