mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 03:51:50 +00:00
update base:drop component
This commit is contained in:
parent
bc17abc8b3
commit
81775f3304
2 changed files with 7 additions and 3 deletions
|
|
@ -3,10 +3,13 @@ local body = entity.rigidbody
|
|||
local rig = entity.skeleton
|
||||
|
||||
inair = true
|
||||
ready = false
|
||||
target = -1
|
||||
ready = false
|
||||
|
||||
local dropitem = ARGS
|
||||
if dropitem then
|
||||
ready = dropitem.ready
|
||||
end
|
||||
if SAVED_DATA.item then
|
||||
dropitem.id = item.index(SAVED_DATA.item)
|
||||
dropitem.count = SAVED_DATA.count
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue