Skip to content

Commit 5c9cf82

Browse files
committed
fixed onplayerverified nre
1 parent ea79742 commit 5c9cf82

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Common Utilities/EventHandlers/PlayerHandlers.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ public class PlayerHandlers
2323

2424
public void OnPlayerVerified(VerifiedEventArgs ev)
2525
{
26+
if (ev.Player is null)
27+
return;
28+
2629
string message = FormatJoinMessage(ev.Player);
2730

2831
if (!string.IsNullOrEmpty(message))

Common Utilities/Plugin.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public class Plugin : Plugin<Config>
4141

4242
public override string Author { get; } = "ExMod-Team";
4343

44-
public override Version Version { get; } = new(8, 0, 1);
44+
public override Version Version { get; } = new(8, 0, 2);
4545

4646
public override Version RequiredExiledVersion { get; } = new(9, 1, 1);
4747

0 commit comments

Comments
 (0)