We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 183c81b commit 443bbe6Copy full SHA for 443bbe6
builtin/falling.lua
@@ -96,9 +96,9 @@ function drop_attached_node(p)
96
minetest.env:remove_node(p)
97
for _,item in ipairs(minetest.get_node_drops(nn, "")) do
98
local pos = {
99
- x = p.x + math.random(60)/60-0.3,
100
- y = p.y + math.random(60)/60-0.3,
101
- z = p.z + math.random(60)/60-0.3,
+ x = p.x + math.random()/2 - 0.25,
+ y = p.y + math.random()/2 - 0.25,
+ z = p.z + math.random()/2 - 0.25,
102
}
103
minetest.env:add_item(pos, item)
104
end
0 commit comments