From eb596d921bf9e1e0294e2814ee90f8258935333c Mon Sep 17 00:00:00 2001 From: mat Date: Thu, 20 Jul 2023 05:05:14 -0500 Subject: remove unnecessary clone --- azalea-client/src/packet_handling.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) => { -- cgit v1.2.3