Skip to content

Commit

Permalink
CodeCleanup & Typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SebasCapo committed Sep 10, 2021
1 parent 87ab8de commit 04a298b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions RemoteKeycard/API/Extensions/PlayerExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
using System;
using System.Linq;
using System.Linq;
using CustomPlayerEffects;
using Exiled.API.Extensions;
using Exiled.API.Features;
using Exiled.API.Features.Items;
using Interactables.Interobjects.DoorUtils;
using ExiledPermissions = Exiled.API.Enums.KeycardPermissions;

namespace RemoteKeycard.API.Extensions
{
Expand All @@ -19,7 +16,7 @@ public static class PlayerExtensions
/// </summary>
/// <param name="player"><see cref="Player"/> trying to interact.</param>
/// <param name="permissions">The permission that's gonna be searched for.</param>
/// <returns>Whether the player has the requiered keycard.</returns>
/// <returns>Whether the player has the required keycard.</returns>
public static bool HasKeycardPermission(this Player player, KeycardPermissions permissions)
{
if(RemoteKeycard.Instance.Config.AmnesiaMatters && player.GetEffectActive<Amnesia>())
Expand Down

0 comments on commit 04a298b

Please sign in to comment.