Fix build script, use logger

This commit is contained in:
William committed 2022-05-20 20:34:30 +01:00
1 parent 10e3345b38
commit 0446db39c5
8 files changed
+99 -16

No files matched your search

+5 -3
View File
@@ -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);
}