world: test hardcoding max block/sky light in Snapshot

This commit is contained in:
ice_iix 2022-08-06 10:49:46 -07:00
parent b890814571
commit 6592ebbd11
1 changed files with 2 additions and 0 deletions

View File

@ -1279,6 +1279,7 @@ impl Snapshot {
}
pub fn get_block_light(&self, x: i32, y: i32, z: i32) -> u8 {
return 15;
self.block_light.get(self.index(x, y, z))
}
@ -1288,6 +1289,7 @@ impl Snapshot {
}
pub fn get_sky_light(&self, x: i32, y: i32, z: i32) -> u8 {
return 15;
self.sky_light.get(self.index(x, y, z))
}