Attempt at fixing #88

This commit is contained in:
Magnus Ulf 2020-12-16 19:50:05 +01:00
parent 2038aafb51
commit 2a1db8e8f7

View File

@ -43,10 +43,13 @@ public class EngineLwc extends Engine
LWC.getInstance().getModuleLoader().registerModule(Factions.get(), new FactionsLwcModule(Factions.get()));
}
else
{
if (LWC.getInstance() != null)
{
LWC.getInstance().getModuleLoader().removeModules(Factions.get());
}
}
}
// -------------------------------------------- //
// LISTENER