Fix the message format not being correct.
This commit is contained in:
parent
3f27410a7a
commit
a7dacf42c1
@ -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 "";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user