From d5117240db15130813e57384b55f4e04431bddc9 Mon Sep 17 00:00:00 2001 From: Freeman Date: Sun, 12 Mar 2023 15:58:38 +0100 Subject: [PATCH] fix crash causes by take an item from shop to inv el crash se causa si el item que retiras de la tienda se coloca sobre otro item que este en tu inventario este crash no retorna nada en en log parece un crash de cliente --- shop.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shop.lua b/shop.lua index fb943dd..d9ef287 100644 --- a/shop.lua +++ b/shop.lua @@ -173,7 +173,7 @@ local function on_metadata_inventory_move(pos, from_list, from_index, to_list, t end local function on_metadata_inventory_take(pos, listname, index, stack, player) - check_empty(pos) + -- check_empty(pos) -- CRASH core.show_formspec(player:get_player_name(), formspec_prefix..core.pos_to_string(pos), emeraldbank.get_shop_fs(pos, player) ) end