Update Fork #9

Merged
chmodsayshello merged 403 commits from MineClone5/MineClone5:master into master 2022-08-02 15:50:37 +02:00
1 changed files with 1 additions and 0 deletions
Showing only changes of commit e4f218fded - Show all commits

View File

@ -75,6 +75,7 @@ local function spawnstruct_function(name, param)
local pos = player:get_pos() local pos = player:get_pos()
if not pos then return end if not pos then return end
pos.y = math.floor(pos.y) + 1
local pr = PseudoRandom(math.floor(pos.x * 333 + pos.y * 19 - pos.z + 4)) local pr = PseudoRandom(math.floor(pos.x * 333 + pos.y * 19 - pos.z + 4))
pos = vector.round(pos) pos = vector.round(pos)
local dir = minetest.yaw_to_dir(player:get_look_horizontal()) local dir = minetest.yaw_to_dir(player:get_look_horizontal())