update base:drop component

This commit is contained in:
MihailRis
2024-11-24 17:21:19 +03:00
parent bc17abc8b3
commit 81775f3304
2 changed files with 7 additions and 3 deletions
+3 -2
View File
@@ -1,9 +1,10 @@
local base_entities = {}
function base_entities.drop(ppos, itemid, count)
function base_entities.drop(ppos, itemid, count, ready)
return entities.spawn("base:drop", ppos, {base__drop={
id=itemid,
count=count
count=count,
ready=ready
}})
end