From 01ff465db9cc89235578c4d4ba9c145bb3b2ab90 Mon Sep 17 00:00:00 2001 From: Ryan Date: Mon, 19 Dec 2022 01:50:51 -0800 Subject: [PATCH] Remove unnecessary casts in parkour example --- examples/parkour.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/parkour.rs b/examples/parkour.rs index e434d05..7b3b244 100644 --- a/examples/parkour.rs +++ b/examples/parkour.rs @@ -257,7 +257,7 @@ fn reset(client: &mut Client, world: &mut World) { for chunk_z in -1..3 { for chunk_x in -2..2 { world.chunks.insert( - (chunk_x as i32, chunk_z as i32), + (chunk_x, chunk_z), UnloadedChunk::default(), ChunkState { keep_loaded: true }, );