fix chests and loot

This commit is contained in:
Xeno333 2024-12-03 07:29:39 -06:00
parent 5f01f30474
commit e228916e8f

View File

@ -86,7 +86,7 @@ local function dec(pr, x, y, z, data, area, place_list, tempv, cave)
if tempv > 0 and not (tempv > 20) then
-- Grass
if c <= 20 then
data[area:index(x, y+1, z)] = chest
data[area:index(x, y+1, z)] = grass_tall
elseif c < 100 then
data[area:index(x, y+1, z)] = grass_short