Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Commit

Permalink
Await the light updating
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitriTimoz committed Nov 22, 2023
1 parent 8573b33 commit 8b213f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion minecraft-server/src/world/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ impl WorldMap {
}

inner_set_block(self, position.clone(), block.clone()).await;
LightManager::update_light(self, position, block);
LightManager::update_light(self, position, block).await;
}

pub async fn get_skylight(&self, position: BlockPosition) -> u8 {
Expand Down

0 comments on commit 8b213f5

Please sign in to comment.