forked from mtcontrib/mobs_redo
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