mirror of
https://notabug.org/TenPlus1/lucky_block.git
synced 2024-12-05 03:33:47 +01:00
lightning staff cooks mob meat when killed
This commit is contained in:
parent
9f3a7beefa
commit
af7475d86a
@ -275,13 +275,13 @@ minetest.register_tool("lucky_block:lightning_staff", {
|
||||
minetest.after(0.1, function()
|
||||
objs[n]:punch(tmp_ent, 1.0, {
|
||||
full_punch_interval = 1.0,
|
||||
damage_groups = {fleshy = damage},
|
||||
damage_groups = {fleshy = damage, fire = 1},
|
||||
}, pos)
|
||||
end)
|
||||
else
|
||||
objs[n]:punch(tmp_ent, 1.0, {
|
||||
full_punch_interval = 1.0,
|
||||
damage_groups = {fleshy = damage},
|
||||
damage_groups = {fleshy = damage, fire = 1},
|
||||
}, pos)
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user