From 9c288ef2aa6e543d87fdf6f3ca964f42f3bc00ca Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 30 Mar 2017 05:11:16 +0200 Subject: [PATCH] Fix crash when signing book without pointing node --- mods/ITEMS/mcl_books/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ITEMS/mcl_books/init.lua b/mods/ITEMS/mcl_books/init.lua index ce5730196f..34a5721b7a 100644 --- a/mods/ITEMS/mcl_books/init.lua +++ b/mods/ITEMS/mcl_books/init.lua @@ -118,7 +118,7 @@ minetest.register_on_player_receive_fields(function ( player, formname, fields ) local book = player:get_wielded_item() local name = player:get_player_name() if book:get_name() == "mcl_books:writable_book" then - write(book, player) + write(book, player, { type = "nothing" }) end end end)