mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-01-23 16:30:19 +01:00
fixed generated default:nyancat generate in nether
This commit is contained in:
parent
7295b08c31
commit
c71b1a0ac3
@ -1011,6 +1011,7 @@ end
|
|||||||
|
|
||||||
|
|
||||||
function default.generate_nyancats(minp, maxp, seed)
|
function default.generate_nyancats(minp, maxp, seed)
|
||||||
|
if minp.y < -19600 then return end -- no generate in nether
|
||||||
local height_min = -30000
|
local height_min = -30000
|
||||||
local height_max = 30000
|
local height_max = 30000
|
||||||
if maxp.y < height_min or minp.y > height_max then
|
if maxp.y < height_min or minp.y > height_max then
|
||||||
|
Loading…
Reference in New Issue
Block a user