1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-06-29 23:26:04 +02:00

remove useless param

This commit is contained in:
crabman77 2015-03-21 22:24:15 +01:00
parent 172c2330eb
commit 1dc7378e53

View File

@ -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)]