0
0
Fork 0

Correct automatic enderman->rover conversion

This commit is contained in:
teknomunk 2024-05-23 06:56:55 +00:00
parent 667748b9b4
commit 92e4185032
1 changed files with 2 additions and 2 deletions

View File

@ -496,8 +496,8 @@ mcl_mobs.register_mob("mobs_mc:rover", {
-- compat
minetest.register_entity("mobs_mc:enderman", {
on_activate = function(self, staticdata, dtime)
minetest.add_entity(self.object:get_pos(), "mobs_mc:rover", staticdata)
self.object:set_properties({
local obj = minetest.add_entity(self.object:get_pos(), "mobs_mc:rover", staticdata)
obj:set_properties({
mesh = "vl_rover.b3d",
textures = { "vl_mobs_rover.png^vl_mobs_rover_face.png" },
visual_size = {x=10, y=10},