ModLoader requires a rewrite

This commit is contained in:
493msi 2020-09-24 01:53:32 +02:00
parent 825d87d022
commit 9c06c47ffc
2 changed files with 9 additions and 6 deletions

View File

@ -29,4 +29,10 @@
* The stage manager should be relatively low-overhead and allow multiple
instances
* Allow stages to be inherited from, creating a stack-like structure
* The initial release of `[PlutoCommandParser]`
## Features targeted for 20.2.0.0-alpha.3
* `[PlutoLib]` Completely redo the ModLoader system
* The current implementation is a result of 5 years of feature creep
* Large scale API changes

View File

@ -53,12 +53,9 @@ public class ModLoaderCore
if (registeredMod.isPresent())
{
if (modDataRoot != null)
{
var mod = registeredMod.get();
var mod = registeredMod.get();
mod.setRootDataFolder(modDataRoot);
}
mod.setRootDataFolder(modDataRoot);
return;
}