forked from mtcontrib/mobs_animal
fix evil bunny textures
This commit is contained in:
parent
7d15829ef9
commit
9de752d789
|
@ -75,7 +75,6 @@ mobs:register_mob("mobs_animal:bunny", {
|
|||
local staticdata = minetest.serialize({
|
||||
type = "monster",
|
||||
attack_type = "dogfight",
|
||||
hp_max = 20,
|
||||
health = 20,
|
||||
damage = 5,
|
||||
run_velocity = 3,
|
||||
|
@ -91,6 +90,8 @@ mobs:register_mob("mobs_animal:bunny", {
|
|||
local obj = minetest.add_entity(
|
||||
self.object:get_pos(), "mobs_animal:bunny", staticdata)
|
||||
|
||||
obj:set_properties({textures = {"mobs_bunny_evil.png"}, hp_max = 20})
|
||||
|
||||
-- remove old bunny
|
||||
if obj:get_luaentity() then
|
||||
mobs:remove(self, true)
|
||||
|
|
Loading…
Reference in New Issue
Block a user