Define get_staticdata of minecart
parent
63ebc3143c
commit
44f4db844e
|
@ -289,6 +289,10 @@ local function register_entity(entity_id, mesh, textures, drop, on_rightclick)
|
||||||
update = nil
|
update = nil
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function cart:get_staticdata()
|
||||||
|
return ""
|
||||||
|
end
|
||||||
|
|
||||||
minetest.register_entity(entity_id, cart)
|
minetest.register_entity(entity_id, cart)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue