forked from MineClone5/MineClone5
Fix set_velocity calls to item entity objs in dropper and dispenser code
This commit is contained in:
parent
96b8552ae4
commit
7dbdd70784
|
@ -275,7 +275,7 @@ local dispenserdef = {
|
|||
z = newv.z * shoot_force
|
||||
}
|
||||
|
||||
dropitemobj.set_velocity(newv)
|
||||
dropitemobj:set_velocity(newv)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -148,7 +148,7 @@ local dropperdef = {
|
|||
z = newv.z * shoot_force
|
||||
}
|
||||
|
||||
dropitemobj.set_velocity(newv)
|
||||
dropitemobj:set_velocity(newv)
|
||||
end
|
||||
end
|
||||
end,
|
||||
|
|
Loading…
Reference in New Issue