mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-18 06:19:34 +01:00
decrease blockcheck by 25 nodes
that way, even with the lowest possible render distance, all nodes are loaded, if there are no nodes above the beacon (excluding glass etc.), it sets the meta and places the beam 175 blocks high, it extends all the way until the next non-air block if the player is near enoght... Signed-off-by: chmodsayshello <chmodsayshello@hotmail.com>
This commit is contained in:
parent
d3eccce013
commit
ca77ffe1c7
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ local function globalstep_function(pos,player)
|
|||
else
|
||||
local colorblock = minetest.get_node({x=pos.x,y=pos.y+1,z=pos.z})
|
||||
local obstructed = false
|
||||
for y=pos.y+1, pos.y+200 do
|
||||
for y=pos.y+1, pos.y+170 do
|
||||
|
||||
local nodename = minetest.get_node({x=pos.x,y=y, z = pos.z}).name
|
||||
if nodename ~= "mcl_core:bedrock" and nodename ~= "air" and nodename ~= "mcl_core:void" and nodename ~= "ignore" then --ignore means not loaded, let's just assume that's air
|
||||
|
|
Loading…
Reference in a new issue