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

@ -52,13 +52,10 @@ public class ModLoaderCore
var registeredMod = loadBuffer.stream().filter(presentMod -> presentMod.getMainClass().equals(modClass)).findAny();
if (registeredMod.isPresent())
{
if (modDataRoot != null)
{
var mod = registeredMod.get();
mod.setRootDataFolder(modDataRoot);
}
return;
}