diff options
author | JP Guerrero <jeanpatrick.guerrero@gmail.com> | 2016-12-13 23:24:18 +0100 |
---|---|---|
committer | JP Guerrero <jeanpatrick.guerrero@gmail.com> | 2016-12-13 23:24:18 +0100 |
commit | 0be1076edc608bfacf2596d7e9ef541914e8a677 (patch) | |
tree | 5fe43dcbd2e5cb7f05a50351d72f8dcb0e85de06 | |
parent | 5113dc407a99bec1caa7329979db91ac49108c04 (diff) |
Fix nil crash in progressive mode (again)
-rw-r--r-- | init.lua | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -257,6 +257,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields) elseif fields.search or fields.key_enter_field == "craftguide_filter" then data.filter = fields.craftguide_filter:lower() data.pagenum = 1 + if progressive_mode then data.item = nil end craftguide:get_items(player_name) craftguide:get_formspec(player_name) elseif fields.prev or fields.next then |