loot tracker: fix cox loot being double-counted after region load
It is possible to hit region loads in cox after checking the chest once, so additionally check we are no longer in an instance.
This commit is contained in:
@@ -370,7 +370,7 @@ public class LootTrackerPlugin extends Plugin
|
||||
@Subscribe
|
||||
public void onGameStateChanged(final GameStateChanged event)
|
||||
{
|
||||
if (event.getGameState() == GameState.LOADING)
|
||||
if (event.getGameState() == GameState.LOADING && !client.isInInstancedRegion())
|
||||
{
|
||||
chestLooted = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user