Fix WrappedTeamParameters.Builder incorrectly using displayName for prefix and suffix (#3050)

This commit is contained in:
Scott Hiett 2024-06-27 04:12:12 +01:00 committed by GitHub
parent da65c9d3c1
commit 4aa344bab2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -95,8 +95,8 @@ public class WrappedTeamParameters extends AbstractWrapper {
private Builder(@Nullable WrappedTeamParameters template) {
if (template != null) {
this.displayName = template.getDisplayName();
this.prefix = template.getDisplayName();
this.suffix = template.getDisplayName();
this.prefix = template.getPrefix();
this.suffix = template.getSuffix();
this.nametagVisibility = template.getNametagVisibility();
this.collisionRule = template.getCollisionRule();
this.color = template.getColor();