Fixed the load order of configs with plugins - many configs are now loaded after plugins so that npc/item/object handlers in the old plugin system are set properly

This commit is contained in:
Ceikry
2022-05-15 23:22:30 +00:00
committed by Ryan
parent 24cea604fc
commit 966a5e1c55
3 changed files with 7 additions and 3 deletions
+2 -1
View File
@@ -47,7 +47,8 @@ object TestUtils {
if(ServerConstants.DATA_PATH == null) {
ServerConfigParser.parse(this::class.java.getResource("test.conf"))
Cache.init(this::class.java.getResource("cache").path.toString())
ConfigParser().parseConfigs()
ConfigParser().prePlugin()
ConfigParser().postPlugin()
}
}