mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 06:28:49 +00:00
Homes now function
This commit is contained in:
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: \" CD32Hello\" 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);
|
||||
|
||||
Reference in new issue
Block a user