Skip to content

Commit 2824c8a

Browse files
authored
Merge pull request #11 from 0b10000/exiled5
Fixes #10
2 parents cb49092 + 5ed7e20 commit 2824c8a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

LogManager.cs

+1-4
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ public void ReportKill(DyingEventArgs ev, LogReason reason, bool sendImmediately
3131

3232
EnqueueText(_killString.ToString(), sendImmediately);
3333

34+
// ReSharper disable once SwitchStatementMissingSomeEnumCasesNoDefault
3435
switch (reason)
3536
{
3637
case LogReason.CuffedKill when plugin.Config.NotifyCuffedHumanKills:
@@ -41,10 +42,6 @@ public void ReportKill(DyingEventArgs ev, LogReason reason, bool sendImmediately
4142
plugin.Methods.SendHintToNotifiablePlayers(
4243
$"<color=red>{ev.Killer.Nickname} has teamkilled {ev.Target.Nickname}!</color>");
4344
break;
44-
case LogReason.Regular:
45-
break;
46-
default:
47-
throw new ArgumentOutOfRangeException(nameof(reason), reason, null);
4845
}
4946
}
5047

0 commit comments

Comments
 (0)