Skip to content

Commit

Permalink
sex
Browse files Browse the repository at this point in the history
  • Loading branch information
ced777ric committed Oct 22, 2023
1 parent 9b809aa commit d6aa9ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CedMod/Handlers/Player.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ public class Player
[PluginEvent(ServerEventType.PlayerJoined)]
public void OnJoin(PlayerJoinedEvent ev)
{
Task.Run(async () => { await BanSystem.HandleJoin(CedModPlayer.Get(ev.Player.ReferenceHub)); });
var plr = CedModPlayer.Get(ev.Player.ReferenceHub);
Task.Run(async () => { await BanSystem.HandleJoin(plr); });
Timing.RunCoroutine(Name(CedModPlayer.Get(ev.Player.ReferenceHub)));
}

Expand Down

0 comments on commit d6aa9ba

Please sign in to comment.