cluescrolls: Re-check named object highlights after hopping

This commit is contained in:
Jordan Atwood
2021-01-30 15:22:03 -08:00
committed by Adam
parent 778dc07181
commit 2cdfdf0284

View File

@@ -495,6 +495,10 @@ public class ClueScrollPlugin extends Plugin
{ {
resetClue(true); resetClue(true);
} }
else if (state == GameState.HOPPING)
{
namedObjectCheckThisTick = true;
}
} }
@Subscribe @Subscribe
@@ -561,6 +565,7 @@ public class ClueScrollPlugin extends Plugin
} }
// Load the current plane's tiles if a tick has elapsed since the player has changed planes // Load the current plane's tiles if a tick has elapsed since the player has changed planes
// or upon reaching a logged in state after hopping worlds
if (namedObjectCheckThisTick) if (namedObjectCheckThisTick)
{ {
namedObjectCheckThisTick = false; namedObjectCheckThisTick = false;