mirror of
https://github.com/italicsjenga/valence.git
synced 2025-01-11 07:11:30 +11:00
Remove unnecessary casts in death example
This commit is contained in:
parent
01ff465db9
commit
985f7891e4
|
@ -285,11 +285,9 @@ fn create_world(server: &mut Server<Game>, spawn_pos: BlockPos, world_type: Whic
|
||||||
// Create chunks
|
// Create chunks
|
||||||
for chunk_z in -3..3 {
|
for chunk_z in -3..3 {
|
||||||
for chunk_x in -3..3 {
|
for chunk_x in -3..3 {
|
||||||
world.chunks.insert(
|
world
|
||||||
[chunk_x as i32, chunk_z as i32],
|
.chunks
|
||||||
UnloadedChunk::default(),
|
.insert([chunk_x, chunk_z], UnloadedChunk::default(), ());
|
||||||
(),
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue