diff options
| author | mat <git@matdoes.dev> | 2023-07-20 05:05:14 -0500 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2023-07-20 05:05:14 -0500 |
| commit | eb596d921bf9e1e0294e2814ee90f8258935333c (patch) | |
| tree | 31e00c63818378946ca3f9663a748aa4d9a5981f | |
| parent | 85357a4b6fe829a945464809abe9002d5b0f2881 (diff) | |
| download | azalea-drasl-eb596d921bf9e1e0294e2814ee90f8258935333c.tar.xz | |
remove unnecessary clone
| -rw-r--r-- | azalea-client/src/packet_handling.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-client/src/packet_handling.rs b/azalea-client/src/packet_handling.rs index 70bf2778..547b1b4b 100644 --- a/azalea-client/src/packet_handling.rs +++ b/azalea-client/src/packet_handling.rs @@ -875,7 +875,7 @@ fn process_packet_events(ecs: &mut World) { for state in &p.states { world .chunks - .set_block_state(&(p.section_pos + state.pos.clone()), state.state); + .set_block_state(&(p.section_pos + state.pos), state.state); } } ClientboundGamePacket::GameEvent(p) => { |
