Skip to content

Commit 6ce8f2f

Browse files
committed
Only force hide feedback in refresh if from logging out
1 parent 4c78198 commit 6ce8f2f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/main/java/com/botdetector/BotDetectorPlugin.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,10 @@ public synchronized void refreshPlayerStats(boolean forceRefresh)
520520
panel.setPlayerStatsLoading(false);
521521
panel.setWarningVisible(BotDetectorPanel.WarningLabel.ANONYMOUS, config.enableAnonymousUploading());
522522
panel.setWarningVisible(BotDetectorPanel.WarningLabel.PLAYER_STATS_ERROR, false);
523-
panel.forceHideFeedbackPanel();
523+
if (loggedPlayerName == null)
524+
{
525+
panel.forceHideFeedbackPanel();
526+
}
524527
panel.forceHideFlaggingPanel();
525528
});
526529
return;

0 commit comments

Comments
 (0)