mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-27 03:37:31 +01:00
Fix book and quill not saving text
This commit is contained in:
parent
602b398a66
commit
3092569729
@ -24,8 +24,8 @@ minetest.register_craftitem("mcl_books:writable_book", {
|
||||
local formspec = "size[8,9]"..
|
||||
"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).."]"..
|
||||
"button_exit[3,8.25;2,1;ok;Exit]"
|
||||
minetest.show_formspec(user:get_player_name(), "mcl_core:book", formspec)
|
||||
"button_exit[3,8.25;2,1;ok;Done]"
|
||||
minetest.show_formspec(user:get_player_name(), "mcl_books:writable_book", formspec)
|
||||
end,
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user