mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-11-24 21:55:10 +00:00
Fix book and quill not saving text
This commit is contained in:
parent
602b398a66
commit
3092569729
1 changed files with 2 additions and 2 deletions
|
@ -24,8 +24,8 @@ minetest.register_craftitem("mcl_books:writable_book", {
|
||||||
local formspec = "size[8,9]"..
|
local formspec = "size[8,9]"..
|
||||||
"background[-0.5,-0.5;9,10;mcl_books_book_bg.png]"..
|
"background[-0.5,-0.5;9,10;mcl_books_book_bg.png]"..
|
||||||
"textarea[0.5,0.25;7.5,9.25;text;;"..minetest.formspec_escape(text).."]"..
|
"textarea[0.5,0.25;7.5,9.25;text;;"..minetest.formspec_escape(text).."]"..
|
||||||
"button_exit[3,8.25;2,1;ok;Exit]"
|
"button_exit[3,8.25;2,1;ok;Done]"
|
||||||
minetest.show_formspec(user:get_player_name(), "mcl_core:book", formspec)
|
minetest.show_formspec(user:get_player_name(), "mcl_books:writable_book", formspec)
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue