diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2018-04-02 21:24:41 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2018-04-02 21:24:41 +0100 |
commit | 2418e2af21a3b1c1e4738b9a1bbd89469ee6665a (patch) | |
tree | d48d21a2c70b7f31cc09c3037a945b0e0ef24c2b | |
parent | 7bb3cd8d8573e2fdf64d88b4256848f1b9e186c4 (diff) |
add default collisionbox
-rw-r--r-- | api.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2846,7 +2846,7 @@ minetest.register_entity(name, { hp_min = max(1, (def.hp_min or 5) * difficulty), hp_max = max(1, (def.hp_max or 10) * difficulty), physical = true, - collisionbox = def.collisionbox, + collisionbox = def.collisionbox or {-0.25, -0.25, -0.25, 0.25, 0.25, 0.25}, selectionbox = def.selectionbox or def.collisionbox, visual = def.visual, visual_size = def.visual_size or {x = 1, y = 1}, |