Fix book and quill not saving text

This commit is contained in:
Wuzzy 2017-02-01 23:24:30 +01:00
parent 602b398a66
commit 3092569729
1 changed files with 2 additions and 2 deletions

View File

@ -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,
})