diff --git a/invtab.lua b/invtab.lua index 747de23..6c71369 100644 --- a/invtab.lua +++ b/invtab.lua @@ -26,10 +26,6 @@ local show_tab = core.settings:get_bool("emeraldbank.inv_tab", true) local function build(player) local fs = "label[1,1;"..S("Open EmeraldBank interface").."]".. "image_button[1,1.3;1,1;default_steel_block.png^mcl_core_emerald.png;bank;".."".."]" - if core.get_modpath("emeraldmarket") then - fs = fs.."label[1,3;"..S("Open Auction Market interface").."]".. - "image_button[1,3.3;1,1;default_gold_block.png^mcl_core_emerald.png;market;".."".."]" - end return fs end @@ -40,11 +36,6 @@ local function handle(player, fields) atm.showform(player) return true end - if core.get_modpath("emeraldmarket") and commoditymarket and fields.market then - local name = player:get_player_name() - commoditymarket.show_market("emerald", name) - return true - end end -- This function will be called to know if a player can see the tab