runelite-client: fix npe from --no-rs in zulrah plugin
This commit is contained in:
@@ -93,7 +93,7 @@ public class Zulrah extends Plugin
|
|||||||
|
|
||||||
private synchronized void update()
|
private synchronized void update()
|
||||||
{
|
{
|
||||||
if (client.getGameState() != GameState.LOGGED_IN)
|
if (client == null || client.getGameState() != GameState.LOGGED_IN)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user