Merge pull request #438 from runelite-extended/barrows
NPE Fix for Barrows
This commit is contained in:
@@ -257,6 +257,8 @@ public class BarrowsPlugin extends Plugin
|
||||
puzzleAnswer = null;
|
||||
}
|
||||
else if (event.getGameState() == GameState.LOGGED_IN)
|
||||
{
|
||||
if (client.getLocalPlayer() != null)
|
||||
{
|
||||
boolean isInCrypt = isInCrypt();
|
||||
if (wasInCrypt && !isInCrypt)
|
||||
@@ -269,6 +271,7 @@ public class BarrowsPlugin extends Plugin
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
public void onWidgetLoaded(WidgetLoaded event)
|
||||
|
||||
Reference in New Issue
Block a user