From aa1f2a55e047f528dcb78509b025548696e42543 Mon Sep 17 00:00:00 2001 From: mat Date: Fri, 21 Oct 2022 20:26:49 -0500 Subject: work around rustc compilation error --- azalea-client/src/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'azalea-client/src') diff --git a/azalea-client/src/client.rs b/azalea-client/src/client.rs index 25c68c5d..c70d0e90 100644 --- a/azalea-client/src/client.rs +++ b/azalea-client/src/client.rs @@ -645,7 +645,7 @@ impl Client { debug!("Got section blocks update packet {:?}", p); let mut dimension = client.dimension.lock(); for state in &p.states { - dimension.set_block_state(&(p.section_pos + state.pos), state.state); + dimension.set_block_state(&(p.section_pos + state.pos.clone()), state.state); } } ClientboundGamePacket::GameEvent(p) => { -- cgit v1.2.3