Skip to content

Commit

Permalink
Update mod.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
suprohub authored Jan 5, 2025
1 parent 25417d5 commit a4b5749
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pumpkin-world/src/chunk/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ impl Subchunks {
match self {
Self::Single(block) => {
if *block != new_block {
let mut subchunks = vec![Subchunk::Single(0); SUBCHUNKS_COUNT];
let subchunks = vec![Subchunk::Single(0); SUBCHUNKS_COUNT];

*self = Self::Multi(Box::new(subchunks.try_into().unwrap()))
}
Expand Down

0 comments on commit a4b5749

Please sign in to comment.