fixed generation

This commit is contained in:
GameHerobrine 2026-05-16 22:26:42 +03:00
parent dee0ea09fb
commit 8f1850f198
2 changed files with 12 additions and 3 deletions

View file

@ -58,7 +58,8 @@ class TemporalGenerator implements LevelGenerator{
for($Y = 0; $Y < 8; ++$Y){
$chunk[$Y] .= substr($block, $Y << 4, 16);
$chunk[$Y] .= substr($meta, $Y << 3, 8);
$chunk[$Y] .= "\x00\x00\x00\x00\x00\x00\x00\x00";
$chunk[$Y] .= "\x00\x00\x00\x00\x00\x00\x00\x00"; //blocklight
$chunk[$Y] .= "\x00\x00\x00\x00\x00\x00\x00\x00"; //skylight
}
}
}