fix incorrect assumpton about math.random()
这个提交包含在:
@@ -15,9 +15,9 @@ local process_drops = function(pos, name)
|
||||
for _,dropitem in ipairs(drops) do
|
||||
if dropitem ~= name then
|
||||
local newpos = {
|
||||
x=pos.x + math.random(0, 0.5),
|
||||
y=pos.y + math.random(0, 0.5),
|
||||
z=pos.z + math.random(0, 0.5)
|
||||
x=pos.x + math.random() - 0.5,
|
||||
y=pos.y + math.random() - 0.5,
|
||||
z=pos.z + math.random() - 0.5
|
||||
}
|
||||
minetest.add_item(newpos, dropitem)
|
||||
end
|
||||
|
在新工单中引用
屏蔽一个用户