forked from MineClone5/MineClone5
Do not reset item obj velocity upon leaving waterflow
This commit is contained in:
parent
991eeca033
commit
49d5e1a0f6
|
@ -823,7 +823,7 @@ minetest.register_entity(":__builtin:item", {
|
||||||
elseif self._flowing == true then
|
elseif self._flowing == true 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
|
||||||
enable_physics(self.object, self, true)
|
--enable_physics(self.object, self, true) -- do not reset velocity upon leaving water!
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue