Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Common Utilities/Common Utilities.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Library</OutputType>
Expand Down
5 changes: 2 additions & 3 deletions Common Utilities/EventHandlers/PlayerHandlers.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
using Exiled.API.Enums;

namespace Common_Utilities.EventHandlers;

#pragma warning disable IDE0018
using System;
using System.Collections.Generic;
using System.Linq;
using ConfigObjects;
using Exiled.API.Enums;
using Exiled.API.Features;
using Exiled.API.Features.Roles;
using Exiled.CustomItems.API.Features;
Expand Down Expand Up @@ -166,7 +165,7 @@ public List<ItemType> GetStartingInventory(RoleTypeId role, Player player = null
.Where(x =>
player == null
|| string.IsNullOrEmpty(x.Group)
|| x.Group == "none"
|| x.Group == "none"
|| x.Group == player.Group?.Name)
.ToList();

Expand Down