mirror of
https://github.com/danbulant/flying-squid
synced 2026-06-18 22:11:07 +00:00
commit
caf0ece703
1 changed files with 2 additions and 2 deletions
|
|
@ -105,7 +105,7 @@ function generateSimpleChunk(chunkX, chunkZ) {
|
|||
|
||||
for (var x = 0; x < 16;x++) {
|
||||
for (var z = 0; z < 16; z++) {
|
||||
var level = space.value(worldX + x, worldZ + z) * 138;
|
||||
var level = Math.floor(space.value(worldX + x, worldZ + z) * 138);
|
||||
for (var y = 0; y < 256; y++) {
|
||||
let block;
|
||||
|
||||
|
|
@ -124,4 +124,4 @@ function generateSimpleChunk(chunkX, chunkZ) {
|
|||
return chunk;
|
||||
}
|
||||
|
||||
module.exports=generateSimpleChunk;
|
||||
module.exports=generateSimpleChunk;
|
||||
|
|
|
|||
Loading…
Reference in a new issue