Fix regression of item movement in water transport streams.
This commit is contained in:
parent
4032cbe943
commit
6cbedd408e
@ -847,7 +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
|
||||||
disable_physics(self.object, self, true)
|
enable_physics(self.object, self, true)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user