Remove unnecessary casts in death example

This commit is contained in:
Ryan 2022-12-19 02:17:35 -08:00
parent 01ff465db9
commit 985f7891e4

View file

@ -285,11 +285,9 @@ fn create_world(server: &mut Server<Game>, spawn_pos: BlockPos, world_type: Whic
// Create chunks
for chunk_z in -3..3 {
for chunk_x in -3..3 {
world.chunks.insert(
[chunk_x as i32, chunk_z as i32],
UnloadedChunk::default(),
(),
);
world
.chunks
.insert([chunk_x, chunk_z], UnloadedChunk::default(), ());
}
}