object indicators: don't clear markers on connection lost

This commit is contained in:
superiorser9
2021-03-04 00:38:53 +00:00
committed by GitHub
parent 45fd98d487
commit fb5b4bf014

View File

@@ -208,7 +208,7 @@ public class ObjectIndicatorsPlugin extends Plugin
} }
} }
if (gameStateChanged.getGameState() != GameState.LOGGED_IN) if (gameStateChanged.getGameState() != GameState.LOGGED_IN && gameStateChanged.getGameState() != GameState.CONNECTION_LOST)
{ {
objects.clear(); objects.clear();
} }