summaryrefslogtreecommitdiff
path: root/worldedit_gui/init.lua
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2016-02-22 15:54:25 +0100
committersfan5 <sfan5@live.de>2016-02-22 15:54:25 +0100
commitb06e004d80f49aa3e7938e7d63911fee03534253 (patch)
treea07e9fdbcea50f42260732ce50810772efb62879 /worldedit_gui/init.lua
parentb99a51f468f2dae94345611850b2ee2c85b2f3d6 (diff)
parent6dddc93ed709cc8168920dd656636efefe0a4ae1 (diff)
Merge pull request #108 from kilbith/master
Fix unability to browse inv. items on creative inventory
Diffstat (limited to 'worldedit_gui/init.lua')
-rw-r--r--worldedit_gui/init.lua2
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;]"