mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-03 14:38:53 +00:00
Fix build script, use logger
This commit is contained in:
1 parent
10e3345b38
commit
0446db39c5
8 files changed
+99
-16
No files matched your search
+5
-3
@@ -5,7 +5,9 @@ dependencies {
|
||||
}
|
||||
|
||||
shadowJar {
|
||||
relocate 'org.apache.commons-io', 'net.william278.huskhomes.libraries.commons-io'
|
||||
relocate 'dev.dejvokep.boosted-yaml', 'net.william278.huskhomes.libraries.boosted-yaml'
|
||||
relocate 'de.themoep', 'net.william278.huskhomes.libraries.minedown'
|
||||
relocate 'org.apache', 'net.william278.huskhomes.libraries'
|
||||
relocate 'dev.dejvokep', 'net.william278.huskhomes.libraries'
|
||||
relocate 'de.themoep', 'net.william278.huskhomes.libraries'
|
||||
relocate 'org.jetbrains', 'net.william278.huskhomes.libraries'
|
||||
relocate 'org.intellij', 'net.william278.huskhomes.libraries'
|
||||
}
|
||||
@@ -88,7 +88,7 @@ public class Messages {
|
||||
* @param messagesConfig The loaded {@link YamlDocument} messages.yml file
|
||||
* @return the loaded {@link Messages}
|
||||
*/
|
||||
public Messages load(YamlDocument messagesConfig) {
|
||||
public static Messages load(YamlDocument messagesConfig) {
|
||||
return new Messages(messagesConfig);
|
||||
}
|
||||
|
||||
|
||||
@@ -104,7 +104,7 @@ public class Settings {
|
||||
* @param config The loaded {@link YamlDocument} config.yml file
|
||||
* @return the loaded {@link Settings}
|
||||
*/
|
||||
public Settings load(YamlDocument config) {
|
||||
public static Settings load(YamlDocument config) {
|
||||
return new Settings(config);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user