Fix default stepheight for slabs.
This commit is contained in:
parent
6661a064d4
commit
42b2f9873d
2
init.lua
2
init.lua
@ -656,7 +656,7 @@ function entity_ai.register_entity(name, def)
|
|||||||
def.physical = def.physical or true
|
def.physical = def.physical or true
|
||||||
def.visual = def.visual or "mesh"
|
def.visual = def.visual or "mesh"
|
||||||
def.makes_footstep_sound = def.makes_footstep_sound or true
|
def.makes_footstep_sound = def.makes_footstep_sound or true
|
||||||
def.stepheight = def.stepheight or 0.5
|
def.stepheight = def.stepheight or 0.55
|
||||||
def.collisionbox = def.collisionbox or {-1/2, -1/2, -1/2, 1/2, 1/2, 1/2}
|
def.collisionbox = def.collisionbox or {-1/2, -1/2, -1/2, 1/2, 1/2, 1/2}
|
||||||
-- entity_ai callbacks
|
-- entity_ai callbacks
|
||||||
def.on_activate = entity_ai_on_activate
|
def.on_activate = entity_ai_on_activate
|
||||||
|
Loading…
x
Reference in New Issue
Block a user