Remove usage of Optional

This commit is contained in:
Artuto
2021-06-12 13:48:42 -05:00
parent c8d50f3fdd
commit f2b20e6398
2 changed files with 3 additions and 3 deletions

View File

@@ -873,8 +873,8 @@ public class ConnectedPlayer implements MinecraftConnectionAssociation, Player {
}
@Override
public Optional<String> getClientBrand() {
return Optional.ofNullable(clientBrand);
public String getClientBrand() {
return clientBrand;
}
void setClientBrand(String clientBrand) {