mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-26 09:59:33 +01:00
Merge pull request 'Fix items floating into the air under rare circumstances' (#2553) from fix_item_floating into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2553 Reviewed-by: cora <cora@noreply.git.minetest.land>
This commit is contained in:
commit
1bc082ee4f
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
|
||||
-- Disable flowing physics if not on/in flowing liquid
|
||||
self._flowing = false
|
||||
local pos = self.object:get_pos()
|
||||
disable_physics(self.object, self, false, false)
|
||||
disable_physics(self.object, self, true)
|
||||
return
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue