mirror of
https://github.com/italicsjenga/valence.git
synced 2024-12-23 14:31: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
|
||||
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(), ());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue