Skip to content

Commit 4aa344b

Browse files
authored
Fix WrappedTeamParameters.Builder incorrectly using displayName for prefix and suffix (#3050)
1 parent da65c9d commit 4aa344b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/comphenix/protocol/wrappers/WrappedTeamParameters.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ public static class Builder {
9595
private Builder(@Nullable WrappedTeamParameters template) {
9696
if (template != null) {
9797
this.displayName = template.getDisplayName();
98-
this.prefix = template.getDisplayName();
99-
this.suffix = template.getDisplayName();
98+
this.prefix = template.getPrefix();
99+
this.suffix = template.getSuffix();
100100
this.nametagVisibility = template.getNametagVisibility();
101101
this.collisionRule = template.getCollisionRule();
102102
this.color = template.getColor();

0 commit comments

Comments
 (0)