diff --git a/shop.lua b/shop.lua index 817baa3..636ccec 100644 --- a/shop.lua +++ b/shop.lua @@ -159,12 +159,12 @@ core.register_node("emeraldbank:shop", { local meta = core.get_meta(pos) local owner = meta:get_string("owner") local is_online = core.player_exists(owner) + core.get_node_timer(pos):start(shop_timer) if is_online then local player = core.get_player_by_name(owner) if not player or player.is_fake_player then return end get_stonks(pos, player) end - core.get_node_timer(pos):start(shop_timer) end, can_dig = function(pos, player)