mirror of
https://github.com/minetest-mods/craftguide.git
synced 2024-11-05 09:40:22 +01:00
Fix craftguide showing rubbish after pressing Esc
This commit is contained in:
parent
fd34166855
commit
5dd1d08943
2
init.lua
2
init.lua
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user