Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Commit

Permalink
Fixed transperecy bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Adamkob12 committed Oct 17, 2023
1 parent 17580eb commit 243dc04
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,9 @@ fn handle_block_break_place(
VoxelChange::Added => {
c.grid[block] = new_block;
for (voxel, chunk, ent, index, face) in neigbhoring_voxels_across_chunks {
if !breg.is_covering(&new_block, face) {
continue;
}
if let Some(block) = voxel {
let mut tmp = [None; 6];
tmp[face.opposite() as usize] = Some(vox);
Expand Down

0 comments on commit 243dc04

Please sign in to comment.