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()));
|
LWC.getInstance().getModuleLoader().registerModule(Factions.get(), new FactionsLwcModule(Factions.get()));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
if (LWC.getInstance() != null)
|
||||||
{
|
{
|
||||||
LWC.getInstance().getModuleLoader().removeModules(Factions.get());
|
LWC.getInstance().getModuleLoader().removeModules(Factions.get());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// -------------------------------------------- //
|
// -------------------------------------------- //
|
||||||
// LISTENER
|
// LISTENER
|
||||||
|
Loading…
Reference in New Issue
Block a user