update base:drop component
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
local base_entities = {}
|
||||
|
||||
function base_entities.drop(ppos, itemid, count, ready)
|
||||
function base_entities.drop(ppos, itemid, count, pickup_delay)
|
||||
return entities.spawn("base:drop", ppos, {base__drop={
|
||||
id=itemid,
|
||||
count=count,
|
||||
ready=ready
|
||||
pickup_delay=pickup_delay
|
||||
}})
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user