forked from MineClone5/MineClone5
Fix crash when signing book without pointing node
This commit is contained in:
parent
f64bf438e7
commit
9c288ef2aa
|
@ -118,7 +118,7 @@ minetest.register_on_player_receive_fields(function ( player, formname, fields )
|
||||||
local book = player:get_wielded_item()
|
local book = player:get_wielded_item()
|
||||||
local name = player:get_player_name()
|
local name = player:get_player_name()
|
||||||
if book:get_name() == "mcl_books:writable_book" then
|
if book:get_name() == "mcl_books:writable_book" then
|
||||||
write(book, player)
|
write(book, player, { type = "nothing" })
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
Loading…
Reference in New Issue