improve mojang lightning

This commit is contained in:
LabyStudio
2022-02-03 01:18:22 +01:00
parent 9a70a3cc37
commit 0a16cb9721
9 changed files with 167 additions and 112 deletions
@@ -42,7 +42,7 @@ window.MetadataChunkBlock = class {
let level = 0;
if (this.type === EnumSkyBlock.SKY) {
if (world.isHighestBlock(x, y, z)) {
if (world.isAboveGround(x, y, z)) {
level = 15;
}
} else if (this.type === EnumSkyBlock.BLOCK) {