Skip to content

Commit

Permalink
Only force hide feedback in refresh if from logging out
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyborger1 committed Jun 25, 2021
1 parent 4c78198 commit 6ce8f2f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/java/com/botdetector/BotDetectorPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,10 @@ public synchronized void refreshPlayerStats(boolean forceRefresh)
panel.setPlayerStatsLoading(false);
panel.setWarningVisible(BotDetectorPanel.WarningLabel.ANONYMOUS, config.enableAnonymousUploading());
panel.setWarningVisible(BotDetectorPanel.WarningLabel.PLAYER_STATS_ERROR, false);
panel.forceHideFeedbackPanel();
if (loggedPlayerName == null)
{
panel.forceHideFeedbackPanel();
}
panel.forceHideFlaggingPanel();
});
return;
Expand Down

0 comments on commit 6ce8f2f

Please sign in to comment.