mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-11 19:14:05 +09:00
modloader: locale autoloader
This commit is contained in:
@@ -211,6 +211,12 @@ object ModMgr {
|
||||
GameRetextureLoader(moduleName)
|
||||
}
|
||||
|
||||
// add locales if exists
|
||||
if (hasFile(moduleName, "locales")) {
|
||||
printdbg(this, "Trying to load Locales on ${moduleName}")
|
||||
GameLanguageLoader(moduleName)
|
||||
}
|
||||
|
||||
// run entry script in entry point
|
||||
if (entryPoint.isNotBlank()) {
|
||||
var newClass: Class<*>? = null
|
||||
|
||||
Reference in New Issue
Block a user