mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 04:21:07 +01:00
Merge pull request 'Fix regression of item movement in water transport streams.' (#2579) from fix_itemflow_regression into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2579 Reviewed-by: cora <cora@noreply.git.minetest.land>
This commit is contained in:
commit
5d33dc94db
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue