mirror of
https://github.com/Uberi/Minetest-WorldEdit.git
synced 2024-12-26 02:30:40 +01:00
fix gui bug with back button (#116)
Fixed the Worldedit GUI problem where BACK button wouldn't return back to inventory plus menu.
This commit is contained in:
parent
61ab240cea
commit
b23e92921c
@ -118,7 +118,7 @@ elseif rawget(_G, "inventory_plus") then --inventory++ installed
|
|||||||
return true
|
return true
|
||||||
elseif fields.worldedit_gui_exit then --return to original page
|
elseif fields.worldedit_gui_exit then --return to original page
|
||||||
if gui_player_formspecs[name] then
|
if gui_player_formspecs[name] then
|
||||||
inventory_plus.set_inventory_formspec(player, gui_player_formspecs[name])
|
inventory_plus.set_inventory_formspec(player, inventory_plus.get_formspec(player, "main"))
|
||||||
end
|
end
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user