Handcuffing messages are now fully customizable via the language file

This commit is contained in:
graywolf336
2014-01-01 17:39:21 -06:00
parent f1451f4179
commit 3f27410a7a
6 changed files with 84 additions and 29 deletions

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.
*/
public String getLanguageString(LangString langString, String... variables) {
String message = lang.getString("language." + langString.toString().toLowerCase());
String message = lang.getString("language." + langString.getSection() + langString.getName());
if(message == null) return "";