forked from mtcontrib/mobs_redo
Added ability to use sofar's on_blast function in new TNT changes
This commit is contained in:
parent
b51bafcf0e
commit
240bd3f942
3
api.lua
3
api.lua
|
@ -1,5 +1,5 @@
|
|||
|
||||
-- Mobs Api (28th April 2016)
|
||||
-- Mobs Api (1st May 2016)
|
||||
|
||||
mobs = {}
|
||||
mobs.mod = "redo"
|
||||
|
@ -2177,6 +2177,7 @@ minetest.register_entity(name, {
|
|||
immune_to = def.immune_to or {},
|
||||
explosion_radius = def.explosion_radius,
|
||||
custom_attack = def.custom_attack,
|
||||
on_blast = def.on_blast,
|
||||
|
||||
on_step = mob_step,
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user