Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Magic Pen cannot copy textline:lcd anymore #111

@S-S-X

Description

@S-S-X

Something apparently changed as tool just reports "MagicPen copying data for group text failed".
Fix it and keep backward compatibility if possible in some simple way.

Implementation is just simply copying meta field "text":

function definition:copy(node, pos, player)
local meta = minetest.get_meta(pos)
return {
description = ("Textline at %s"):format(minetest.pos_to_string(pos)),
content = meta:get("text"),
}
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    ToolTool issuesbugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions