Make OfflinePlayer#setName protected for CMI Importer (#4805)

This commit is contained in:
triagonal 2022-02-14 23:40:48 +11:00 committed by GitHub
parent cbb012853c
commit bc2da98703
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1341,7 +1341,7 @@ public class OfflinePlayer implements Player {
return name;
}
void setName(final String name) {
protected void setName(final String name) {
this.name = base.getName();
if (this.name == null) {
this.name = name;