aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2023-07-20 05:05:14 -0500
committermat <git@matdoes.dev>2023-07-20 05:05:14 -0500
commiteb596d921bf9e1e0294e2814ee90f8258935333c (patch)
tree31e00c63818378946ca3f9663a748aa4d9a5981f
parent85357a4b6fe829a945464809abe9002d5b0f2881 (diff)
downloadazalea-drasl-eb596d921bf9e1e0294e2814ee90f8258935333c.tar.xz
remove unnecessary clone
-rw-r--r--azalea-client/src/packet_handling.rs2
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) => {