mirror of
https://github.com/italicsjenga/valence.git
synced 2024-12-23 22:41:30 +11:00
Remove unnecessary casts in parkour example
This commit is contained in:
parent
d85b7f5e89
commit
01ff465db9
|
@ -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 },
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue