summaryrefslogtreecommitdiff
path: root/api.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2018-04-06 09:51:11 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2018-04-06 09:51:11 +0100
commit0849727ee96cceb758e97870ece4a7be8e3a372a (patch)
treeca8f900903203352f39607daeab7b8151ed1df70 /api.lua
parent2f1ef11fa3e772ef3b556cc54d2d8f227551d0f5 (diff)
knock_back defaults to true
Diffstat (limited to 'api.lua')
-rw-r--r--api.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/api.lua b/api.lua
index 6405f63..ef3fbda 100644
--- a/api.lua
+++ b/api.lua
@@ -2875,7 +2875,7 @@ minetest.register_entity(name, {
attacks_monsters = def.attacks_monsters or false,
group_attack = def.group_attack or false,
passive = def.passive or false,
- knock_back = def.knock_back or 3,
+ knock_back = def.knock_back ~= false,
blood_amount = def.blood_amount or 5,
blood_texture = def.blood_texture or "mobs_blood.png",
shoot_offset = def.shoot_offset or 0,