Don't clone PlayerConfig
This commit is contained in:
1 parent
92a3f6cb14
commit
f40eb85c53
3 files changed
+3
-4
No files matched your search
@@ -282,7 +282,7 @@ impl Server {
|
||||
))
|
||||
}
|
||||
// entity meta data
|
||||
if let Some(config) = player.client.config.clone() {
|
||||
if let Some(config) = player.client.config.as_ref() {
|
||||
self.broadcast_packet(
|
||||
player,
|
||||
&CSetEntityMetadata::new(
|
||||
|
||||
Reference in new issue
Block a user