mirror of
https://github.com/PaperMC/Velocity.git
synced 2026-02-17 14:37:43 +01:00
Add Player#hasSentPlayerSettings (#980)
This commit is contained in:
@@ -282,6 +282,11 @@ public class ConnectedPlayer implements MinecraftConnectionAssociation, Player,
|
||||
return settings == null ? ClientSettingsWrapper.DEFAULT : this.settings;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasSentPlayerSettings() {
|
||||
return settings != null;
|
||||
}
|
||||
|
||||
void setPlayerSettings(ClientSettings settings) {
|
||||
ClientSettingsWrapper cs = new ClientSettingsWrapper(settings);
|
||||
this.settings = cs;
|
||||
|
||||
Reference in New Issue
Block a user