aboutsummaryrefslogtreecommitdiff
path: root/azalea-world/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-world/src/lib.rs')
-rw-r--r--azalea-world/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-world/src/lib.rs b/azalea-world/src/lib.rs
index 93d2dcb2..32b4b82f 100644
--- a/azalea-world/src/lib.rs
+++ b/azalea-world/src/lib.rs
@@ -60,7 +60,7 @@ impl Dimension {
self.chunk_storage.get_block_state(pos, self.min_y())
}
- pub fn set_block_state(&mut self, pos: &BlockPos, state: BlockState) -> BlockState {
+ pub fn set_block_state(&mut self, pos: &BlockPos, state: BlockState) -> Option<BlockState> {
self.chunk_storage.set_block_state(pos, state, self.min_y())
}