Skip to content
This repository has been archived by the owner on Feb 28, 2021. It is now read-only.

Commit

Permalink
Small bit of cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
PintTheDragon committed Jul 10, 2020
1 parent 2ca78cd commit 9b8b993
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions EventHandlers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public void OnPlayerJoin(JoinedEventArgs ev)
Timing.RunCoroutine(sendBroadcast(ev.Player));
}

public IEnumerator<float> sendJoinMessage(Exiled.API.Features.Player p)
public IEnumerator<float> sendJoinMessage(Player p)
{
yield return Timing.WaitForSeconds(1f);
if (!buddyPlugin.buddies.ContainsKey(p.UserId))
Expand All @@ -45,7 +45,7 @@ public IEnumerator<float> sendJoinMessage(Exiled.API.Features.Player p)
}
}

private IEnumerator<float> sendBroadcast(Exiled.API.Features.Player p)
private IEnumerator<float> sendBroadcast(Player p)
{
yield return Timing.WaitForSeconds(2f);
if (!buddyPlugin.buddies.ContainsKey(p.UserId) && buddyPlugin.Config.sendInfoBroadcast)
Expand Down

0 comments on commit 9b8b993

Please sign in to comment.