mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 10:31:06 +01:00
fix items floating into the air under rare circumstances
This commit is contained in:
parent
c001d307f2
commit
16c9a83a96
1 changed files with 1 additions and 2 deletions
|
@ -847,8 +847,7 @@ minetest.register_entity(":__builtin:item", {
|
||||||
elseif self._flowing == true and not is_in_water and not is_floating then
|
elseif self._flowing == true and not is_in_water and not is_floating then
|
||||||
-- Disable flowing physics if not on/in flowing liquid
|
-- Disable flowing physics if not on/in flowing liquid
|
||||||
self._flowing = false
|
self._flowing = false
|
||||||
local pos = self.object:get_pos()
|
disable_physics(self.object, self, true)
|
||||||
disable_physics(self.object, self, false, false)
|
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue