Homes now function

This commit is contained in:
William278 committed 2020-12-12 13:48:51 +00:00
1 parent 252cb37983
commit d20baa41d1
8 files changed
+402 -294

No files matched your search

@@ -80,7 +80,7 @@ public class messageManager {
"2. Use an ampersand symbol and hashtag (&#) followed by a 6 digit hex code to add custom colors.\n" +
"3. Example 1: \"§cHello!\" will display \"Hello!\" in light red.\n" +
"4. Example 2: \"&#32CD32Hello\" will display \"Hello!\" in a bright green color (hex: #32CD32)");
InputStream defaultMessageFile = plugin.getResource("Languages/" + language);
InputStream defaultMessageFile = plugin.getResource("Languages/" + language + ".yml");
if (defaultMessageFile != null) {
YamlConfiguration yamlConfiguration = YamlConfiguration.loadConfiguration(new InputStreamReader(defaultMessageFile, StandardCharsets.UTF_8));
config.setDefaults(yamlConfiguration);