mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-24 00:49:34 +01:00
Update init.lua
This commit is contained in:
parent
d11b089bac
commit
a765d3dd4f
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ local bobber_on_step = function(self, dtime)
|
||||||
|
|
||||||
end
|
end
|
||||||
--if in liquid then bob.
|
--if in liquid then bob.
|
||||||
if def.liquidtype == "source" and def.name == "mcl_core:water" then
|
if def.liquidtype == "source" and def.name == "mcl_core:water_source" then
|
||||||
if self._oldy == nil then
|
if self._oldy == nil then
|
||||||
self.object:set_pos({x=self.object:get_pos().x,y=math.floor(self.object:get_pos().y)+.5,z=self.object:get_pos().z})
|
self.object:set_pos({x=self.object:get_pos().x,y=math.floor(self.object:get_pos().y)+.5,z=self.object:get_pos().z})
|
||||||
self._oldy = self.object:get_pos().y
|
self._oldy = self.object:get_pos().y
|
||||||
|
|
Loading…
Reference in a new issue