diff options
author | Jean-Patrick Guerrero <jeanpatrick.guerrero@gmail.com> | 2016-02-22 12:29:06 +0100 |
---|---|---|
committer | Jean-Patrick Guerrero <jeanpatrick.guerrero@gmail.com> | 2016-02-22 12:29:06 +0100 |
commit | 6dddc93ed709cc8168920dd656636efefe0a4ae1 (patch) | |
tree | a07e9fdbcea50f42260732ce50810772efb62879 | |
parent | b99a51f468f2dae94345611850b2ee2c85b2f3d6 (diff) |
Fix unability to browse inv. items on creative inventory
-rw-r--r-- | worldedit_gui/init.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/worldedit_gui/init.lua b/worldedit_gui/init.lua index 9d1f45a..5f602ac 100644 --- a/worldedit_gui/init.lua +++ b/worldedit_gui/init.lua @@ -155,6 +155,8 @@ else --fallback button elseif not tab_id then formspec = creative_formspec .. "image_button[6,0;1,1;inventory_plus_worldedit_gui.png;worldedit_gui;]" + else + return end else formspec = formspec .. "image_button[0,0;1,1;inventory_plus_worldedit_gui.png;worldedit_gui;]" |