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
|
||||
protected void startUp() throws Exception
|
||||
{
|
||||
client.changeMemoryMode(true);
|
||||
if (client.getGameState() == GameState.LOGGED_IN)
|
||||
{
|
||||
client.changeMemoryMode(true);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user