Re-add rocketeer class
This commit is contained in:
parent
81bd8ca9b2
commit
04c75c989d
6 changed files with 33 additions and 20 deletions
|
@ -22,7 +22,7 @@ function give_initial_stuff.give_item(inv, item)
|
|||
end
|
||||
|
||||
-- Don't duplicate stacks
|
||||
if inv:contains_item("main", item:get_name()) then
|
||||
if inv:contains_item("main", item:get_name()) and not inv:contains_item("main", "shooter_rocket:rocket") then
|
||||
local safeguard = 0
|
||||
local itemcount = item:get_count()-5
|
||||
if itemcount < 0 then itemcount = 0 end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue