Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Magic Pen cannot copy textline:lcd anymore #111

Open
S-S-X opened this issue Apr 24, 2021 · 0 comments
Open

Magic Pen cannot copy textline:lcd anymore #111

S-S-X opened this issue Apr 24, 2021 · 0 comments
Labels
bug Something isn't working Tool Tool issues

Comments

@S-S-X
Copy link
Owner

S-S-X commented Apr 24, 2021

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

@S-S-X S-S-X added bug Something isn't working Tool Tool issues labels Apr 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Tool Tool issues
Projects
None yet
Development

No branches or pull requests

1 participant