diff --git a/mods/ITEMS/mcl_compass/init.lua b/mods/ITEMS/mcl_compass/init.lua index 936e8fb938..55b46f6f49 100644 --- a/mods/ITEMS/mcl_compass/init.lua +++ b/mods/ITEMS/mcl_compass/init.lua @@ -134,7 +134,7 @@ function mcl_compass.get_compass_image(pos, dir) minetest.log("warning", "mcl_compass: deprecated function " .. "get_compass_image() called, use get_compass_itemname().") local itemstack = ItemStack(mcl_compass.stereotype) - local frame = get_compass_frame(pos, dir, itemstack) + return get_compass_frame(pos, dir, itemstack) end --- Get compass itemname.