1
0
Mirror von https://github.com/luanti-org/minetest_game.git synchronisiert 2025-12-15 02:48:32 +01:00

Fix books getting erased on page button use.

Changing the book page caused the entire itemstack meta to
get wiped due to improper calling of meta:from_table().

Fixes #1711
Dieser Commit ist enthalten in:
Auke Kok
2017-04-28 20:56:51 -07:00
committet von Auke Kok
Ursprung ae7206c006
Commit 67b13a5942

Datei anzeigen

@@ -139,7 +139,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
end
end
stack:get_meta():from_table(data)
stack:get_meta():from_table({fields = data})
stack = book_on_use(stack, player)
end