Skip to content

Commit c3281f6

Browse files
authored
Fixed guards & added GitHub repo path
ApplyGuards was being called in the AddItems function instead of ApplyItemGuards. This would make the system not apply guards to Models.
1 parent ce3a5de commit c3281f6

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/Buffer.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ function Export:AddItem(item: Instance)
377377

378378
CollectionService:AddTag(item, "BufferItem")
379379
item:SetAttribute("BufferPopped", false)
380-
ApplyGuards(item)
380+
ApplyItemGuards(item)
381381

382382
if #self:GetUnsortedItems() > 0 then
383383
self._bufferOrder += 1

src/BufferModule.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
-- Virshal (Roblox @metaVirshal), 2022
2+
-- github/Virshal/BufferModule
23

34
local Types = require(script:WaitForChild("Types"))
45

0 commit comments

Comments
 (0)