Remove unnecessary casts in parkour example

This commit is contained in:
Ryan 2022-12-19 01:50:51 -08:00
parent d85b7f5e89
commit 01ff465db9

View file

@ -257,7 +257,7 @@ fn reset(client: &mut Client<Game>, world: &mut World<Game>) {
for chunk_z in -1..3 { for chunk_z in -1..3 {
for chunk_x in -2..2 { for chunk_x in -2..2 {
world.chunks.insert( world.chunks.insert(
(chunk_x as i32, chunk_z as i32), (chunk_x, chunk_z),
UnloadedChunk::default(), UnloadedChunk::default(),
ChunkState { keep_loaded: true }, ChunkState { keep_loaded: true },
); );