aboutsummaryrefslogtreecommitdiff
path: root/azalea-client
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-10-21 20:26:49 -0500
committermat <github@matdoes.dev>2022-10-21 20:26:49 -0500
commitaa1f2a55e047f528dcb78509b025548696e42543 (patch)
tree789973b2f2cdd59401d62c73a1ab804897381c6f /azalea-client
parent8d0cad77846f61d3ab0bce55394ff127ede0b898 (diff)
downloadazalea-drasl-aa1f2a55e047f528dcb78509b025548696e42543.tar.xz
work around rustc compilation error
Diffstat (limited to 'azalea-client')
-rw-r--r--azalea-client/src/client.rs2
1 files changed, 1 insertions, 1 deletions
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) => {