From 9b8b9938d18a221f688a8ad5a1012aaa3139bf36 Mon Sep 17 00:00:00 2001 From: PintTheDragon Date: Thu, 9 Jul 2020 21:21:58 -0700 Subject: [PATCH] Small bit of cleanup --- EventHandlers.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/EventHandlers.cs b/EventHandlers.cs index 506ad21..779946c 100644 --- a/EventHandlers.cs +++ b/EventHandlers.cs @@ -22,7 +22,7 @@ public void OnPlayerJoin(JoinedEventArgs ev) Timing.RunCoroutine(sendBroadcast(ev.Player)); } - public IEnumerator sendJoinMessage(Exiled.API.Features.Player p) + public IEnumerator sendJoinMessage(Player p) { yield return Timing.WaitForSeconds(1f); if (!buddyPlugin.buddies.ContainsKey(p.UserId)) @@ -45,7 +45,7 @@ public IEnumerator sendJoinMessage(Exiled.API.Features.Player p) } } - private IEnumerator sendBroadcast(Exiled.API.Features.Player p) + private IEnumerator sendBroadcast(Player p) { yield return Timing.WaitForSeconds(2f); if (!buddyPlugin.buddies.ContainsKey(p.UserId) && buddyPlugin.Config.sendInfoBroadcast)