add submit command

This commit is contained in:
Sola
2015-12-10 01:21:13 +08:00
parent cd473d0997
commit 3dd9e34614
7 changed files with 76 additions and 23 deletions

View File

@@ -22,9 +22,6 @@ public class Lang {
//noinspection unchecked
InputStream in = Lang.class.getClassLoader().getResourceAsStream("lang.yml");
messages = new Yaml().loadAs(in, Map.class);
for (Map.Entry<String, String> entry : messages.entrySet()) {
System.out.println(entry.getKey() + ": " + entry.getValue());
}
}
public static String lang(String key) {