runelite-client: fix npe from --no-rs in zulrah plugin

This commit is contained in:
Adam
2017-05-14 18:39:16 -04:00
parent cb0417cc9f
commit c49fe33cf9

View File

@@ -93,7 +93,7 @@ public class Zulrah extends Plugin
private synchronized void update()
{
if (client.getGameState() != GameState.LOGGED_IN)
if (client == null || client.getGameState() != GameState.LOGGED_IN)
{
return;
}