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

@ -44,7 +44,10 @@ public class EngineLwc extends Engine
}
else
{
LWC.getInstance().getModuleLoader().removeModules(Factions.get());
if (LWC.getInstance() != null)
{
LWC.getInstance().getModuleLoader().removeModules(Factions.get());
}
}
}