Skip to content

Commit

Permalink
Merge pull request #199 from KitCat962/fix-nameplate-config
Browse files Browse the repository at this point in the history
Fixed Chat Customizations Config from disabling all
  • Loading branch information
UnlikePaladin committed May 21, 2024
2 parents da8baaa + 603bd2f commit 82d3e04
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@ private Component addMessage(Component message, Component msg, MessageSignature
message = TextUtils.replaceInText(message, quotedName, emptyReplacement, (s, style) -> true, isOwner ? 1 : 0, Integer.MAX_VALUE);

// sender badges
if (config > 1 && isOwner) {
if (isOwner) {
// badges
Component temp = Badges.appendBadges(replacement, uuid, true);
Component temp = Badges.appendBadges(replacement, uuid, config > 1);
// trim
temp = TextUtils.trim(temp);
// modify message, only first
Expand Down

0 comments on commit 82d3e04

Please sign in to comment.