Skip to content

Commit

Permalink
Fix PermissionsBuilder:AddPermission return
Browse files Browse the repository at this point in the history
  • Loading branch information
BizzarBlitz authored Jul 25, 2024
1 parent d6db16e commit 3920460
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Package/Classes/Builders/PermissionsBuilder.luau
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ PermissionsBuilder.Interface.Permissions = Enumerate.new({
]=]
function PermissionsBuilder.Prototype.addPermission(self: PermissionsBuilder, permission: number)
if table.find(self.permissions, permission) then
return
return self
end

table.insert(self.permissions, permission)
Expand Down

0 comments on commit 3920460

Please sign in to comment.