From 63c2d5d83df12e7508398296d661057c43345e0d Mon Sep 17 00:00:00 2001 From: Nicholas Blew Date: Thu, 18 Jan 2024 02:20:20 -0500 Subject: [PATCH] Allow for passing through stash options when opening a stash --- crafting.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crafting.lua b/crafting.lua index b39dd5e..e6c8bb4 100644 --- a/crafting.lua +++ b/crafting.lua @@ -379,7 +379,7 @@ function openStash(data) exports[CodeMInv]:OpenStash(data.stash, 400000, 100) else TriggerEvent("inventory:client:SetCurrentStash", data.stash) - TriggerServerEvent("inventory:server:OpenInventory", "stash", data.stash) + TriggerServerEvent("inventory:server:OpenInventory", "stash", data.stash, data.stashOptions) end lookEnt(data.coords) end