Use legacy serializer instead

This commit is contained in:
nossr50
2020-11-06 14:13:46 -08:00
parent 0f15f234b5
commit bd48680125
8 changed files with 12 additions and 12 deletions

View File

@@ -39,7 +39,7 @@ public abstract class AbstractPlayerAuthor implements Author {
return componentDisplayName;
} else {
//convert to adventure component
componentDisplayName = TextUtils.ofBungeeRawStrings(displayName);
componentDisplayName = TextUtils.ofLegacyTextRaw(displayName);
}
return componentDisplayName;
}
@@ -56,7 +56,7 @@ public abstract class AbstractPlayerAuthor implements Author {
return componentUserName;
} else {
//convert to adventure component
componentUserName = TextUtils.ofBungeeRawStrings(player.getName());
componentUserName = TextUtils.ofLegacyTextRaw(player.getName());
}
return componentUserName;
}