Change 'set' prefixes to 'with' and add javadoc

This commit is contained in:
Yeregorix
2018-11-12 21:34:57 +01:00
parent b6bb4ad1a1
commit da259951c7
3 changed files with 49 additions and 6 deletions

View File

@@ -212,7 +212,7 @@ public class ConnectedPlayer implements MinecraftConnectionAssociation, Player {
@Override
public void setGameProfileProperties(List<GameProfile.Property> properties) {
this.profile = profile.setProperties(Preconditions.checkNotNull(properties));
this.profile = profile.withProperties(Preconditions.checkNotNull(properties));
}
@Override