forked from MineClone5/MineClone5
Fix typo in passing newvel to set_velocity in item phys
This commit is contained in:
parent
4105e07670
commit
6f6b70dedc
|
@ -850,7 +850,7 @@ minetest.register_entity(":__builtin:item", {
|
|||
y = oldvel.y,
|
||||
z = oldvel.z - oldvel.z * ground_drag * dtime
|
||||
}
|
||||
self.object:set_velocity(new_vel)
|
||||
self.object:set_velocity(newvel)
|
||||
end
|
||||
else
|
||||
if self._magnet_active == false then
|
||||
|
|
Loading…
Reference in New Issue