mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-14 01:04:12 +00:00
Add some basic tests (having minecraft unloaded is very limiting)
This commit is contained in:
1 parent
306ba82848
commit
348551ed8f
5 files changed
+123
-1
No files matched your search
@@ -97,6 +97,10 @@ public class PluginManager {
|
||||
PLANTMEGAPACK(new PluginPlantMegaPack()),
|
||||
WITCHERY(new PluginWitchery());
|
||||
|
||||
static {
|
||||
ForestryAPI.enabledPlugins = new HashSet<String>();
|
||||
}
|
||||
|
||||
private final ForestryPlugin instance;
|
||||
private final boolean canBeDisabled;
|
||||
|
||||
@@ -220,7 +224,6 @@ public class PluginManager {
|
||||
unloadedModules.removeAll(toLoad);
|
||||
loadedModules.addAll(toLoad);
|
||||
|
||||
ForestryAPI.enabledPlugins = new HashSet<String>();
|
||||
for (Module m : loadedModules) {
|
||||
ForestryAPI.enabledPlugins.add(m.toString());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user