Fix fire charge death message
This commit is contained in:
parent
95e8f80f2c
commit
e9070ee134
2 changed files with 11 additions and 2 deletions
|
@ -106,6 +106,7 @@ local dispenserdef = {
|
|||
local shootpos = vector.add(pos, vector.multiply(dropdir, 0.51))
|
||||
local fireball = minetest.add_entity(shootpos, "mobs_mc:blaze_fireball")
|
||||
local ent = fireball:get_luaentity()
|
||||
ent._shot_from_dispenser = true
|
||||
local v = ent.velocity or 1
|
||||
fireball:setvelocity(vector.multiply(dropdir, v))
|
||||
ent.switch = 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue