reformatted project

This commit is contained in:
MineTec committed 2025-10-16 00:58:52 +02:00
1 parent cf0499df44
commit 794dc1dbb1
150 files changed
+1594 -1771

No files matched your search

@@ -24,16 +24,17 @@ public class Main {
private final static Logger logger = Logger.getGlobal();
public static ConfigurationNode globalConfig;
@SuppressWarnings("ResultOfMethodCallIgnored")
public static void main(String[] args) throws ConfigurateException {
//noinspection ResultOfMethodCallIgnored
Resource.values(); // This initializes and preloads the enum and extracts the resources
Languages.getInstance(); //Preload languages into the jvm
globalConfig = YamlConfigurationLoader
.builder()
.path(Resource.CONFIG.getPath())
.build()
.load();
.builder()
.path(Resource.CONFIG.getPath())
.build()
.load();
ConfigurationNode serverConfig = globalConfig.node("server");