mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-02-02 21:30:20 +01:00
remove useless param
This commit is contained in:
parent
172c2330eb
commit
1dc7378e53
@ -25,7 +25,7 @@ function pyramids.fill_chest(pos)
|
|||||||
if math.random(1,10) < 7 then return end
|
if math.random(1,10) < 7 then return end
|
||||||
local stacks = {}
|
local stacks = {}
|
||||||
if minetest.get_modpath("treasurer") ~= nil then
|
if minetest.get_modpath("treasurer") ~= nil then
|
||||||
stacks = treasurer.select_random_treasures(3,7,9,{"minetool", "food", "crafting_component"})
|
stacks = treasurer.select_random_treasures()
|
||||||
else
|
else
|
||||||
for i=0,2,1 do
|
for i=0,2,1 do
|
||||||
local stuff = chest_stuff[math.random(1,#chest_stuff)]
|
local stuff = chest_stuff[math.random(1,#chest_stuff)]
|
||||||
|
Loading…
Reference in New Issue
Block a user