low detail plugin: apply low detail on startup if on login screen
Fix race with changing memory mode when loading which causes sounds to not load
This commit is contained in:
@@ -44,7 +44,10 @@ public class LowMemoryPlugin extends Plugin
|
|||||||
@Override
|
@Override
|
||||||
protected void startUp() throws Exception
|
protected void startUp() throws Exception
|
||||||
{
|
{
|
||||||
client.changeMemoryMode(true);
|
if (client.getGameState() == GameState.LOGGED_IN)
|
||||||
|
{
|
||||||
|
client.changeMemoryMode(true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user