fix evil bunny textures

这个提交包含在:
tenplus1
2023-10-07 12:01:27 +01:00
父节点 7d15829ef9
当前提交 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)