From 87c97de2d34d5147cb1a77df6a1656242b1aadb4 Mon Sep 17 00:00:00 2001 From: PintTheDragon Date: Mon, 22 Jun 2020 22:20:41 -0700 Subject: [PATCH] Added a much needed check --- JoinHandler.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/JoinHandler.cs b/JoinHandler.cs index 4d32a46..82db9f2 100644 --- a/JoinHandler.cs +++ b/JoinHandler.cs @@ -17,6 +17,7 @@ public JoinHandler(Buddy buddyPlugin) public void OnPlayerJoin(PlayerJoinEvent ev) { + if (buddyPlugin.Round.Duration != 0) return; Timing.RunCoroutine(sendJoinMessage(ev.Player)); } public IEnumerator sendJoinMessage(Player p)