diff --git a/mods/default/craftitems.lua b/mods/default/craftitems.lua index bb8c445c..c096f7fd 100644 --- a/mods/default/craftitems.lua +++ b/mods/default/craftitems.lua @@ -32,8 +32,8 @@ local function book_on_use(itemstack, user, pointed_thing) default.gui_bg_img.. "label[0.5,0.5;by "..owner.."]".. "label[0.5,0;"..minetest.formspec_escape(title).."]".. - "tableoptions[background=#00000000;highlight=#00000000;border=false]".. - "table[0.5,1.5;7.5,7;;"..minetest.formspec_escape(text):gsub("\n", ",")..";1]" + "textarea[0.5,1.5;7.5,7;text;;".. + minetest.formspec_escape(text).."]" end minetest.show_formspec(user:get_player_name(), "default:book", formspec) end