diff options
author | JP Guerrero <jeanpatrick.guerrero@gmail.com> | 2016-12-11 18:14:43 +0100 |
---|---|---|
committer | JP Guerrero <jeanpatrick.guerrero@gmail.com> | 2016-12-11 18:28:30 +0100 |
commit | 5dd1d08943c34e84c01aa845553516f03ddc67c0 (patch) | |
tree | eca2d8c929caee820b1535f2003e88add31d32d2 | |
parent | fd34166855a86bc8e4a4fa52781c67679ffa9036 (diff) |
Fix craftguide showing rubbish after pressing Esc
-rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -144,7 +144,7 @@ function craftguide:get_formspec(player_name) name..";"..name.."_inv;]" end - if data.item and minetest.registered_items[data.item] then + if data.item ~= "" and minetest.registered_items[data.item] then local is_fuel_only = minetest.get_craft_result({ method="fuel", width=1, items={data.item}}).time > 0 local tooltip = self:get_tooltip(data.item) |