Skip to content

Commit

Permalink
remove skyblock check so streamer mode applies instantly (Moulberry#298)
Browse files Browse the repository at this point in the history
  • Loading branch information
NopoTheGamer authored Sep 22, 2022
1 parent 8445551 commit fc94969
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ public void onGuiChat(ClientChatReceivedEvent e) {
}
missingRecipe.set(true);
}
if (unformatted.startsWith("Sending to server") && neu.isOnSkyblock() &&
if (unformatted.startsWith("Sending to server") &&
NotEnoughUpdates.INSTANCE.config.misc.streamerMode && e.message instanceof ChatComponentText) {
String m = e.message.getFormattedText();
String m2 = StreamerMode.filterChat(e.message.getFormattedText());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public class MixinGuiIngame {

@Redirect(method = "renderScoreboard", at = @At(value = "INVOKE", target = TARGET))
public String renderScoreboard_formatPlayerName(Team team, String name) {
if (NotEnoughUpdates.INSTANCE.isOnSkyblock() && NotEnoughUpdates.INSTANCE.config.misc.streamerMode) {
if (NotEnoughUpdates.INSTANCE.config.misc.streamerMode) {
return StreamerMode.filterScoreboard(ScorePlayerTeam.formatPlayerName(team, name));
}
return ScorePlayerTeam.formatPlayerName(team, name);
Expand Down

0 comments on commit fc94969

Please sign in to comment.