Attempt at fixing #88
This commit is contained in:
parent
2038aafb51
commit
2a1db8e8f7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user