1
0
Fork 0

Fix crash when converting endermen to rovers (#4318)

Fixes a crash that occurs when automatically converting endermen to rovers.

Reviewed-on: VoxeLibre/VoxeLibre#4318
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: teknomunk <teknomunk@protonmail.com>
Co-committed-by: teknomunk <teknomunk@protonmail.com>
This commit is contained in:
teknomunk 2024-05-24 10:32:19 +00:00 committed by the-real-herowl
parent cb4396d424
commit 0a14a74860
1 changed files with 1 additions and 1 deletions

View File

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