mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2024-12-25 18:20:20 +01:00
increase foot level
This commit is contained in:
parent
6f259cb047
commit
60c5b5628a
2
api.lua
2
api.lua
@ -553,7 +553,7 @@ local do_env_damage = function(self)
|
|||||||
end
|
end
|
||||||
|
|
||||||
-- what is mob standing in?
|
-- what is mob standing in?
|
||||||
pos.y = pos.y + self.collisionbox[2] + 0.1 -- foot level
|
pos.y = pos.y + self.collisionbox[2] + 0.25 -- foot level
|
||||||
self.standing_in = node_ok(pos, "air").name
|
self.standing_in = node_ok(pos, "air").name
|
||||||
-- print ("standing in " .. self.standing_in)
|
-- print ("standing in " .. self.standing_in)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user