Attempt at fixing #88
This commit is contained in:
1 parent
2038aafb51
commit
2a1db8e8f7
1 file changed
+3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user