From 42739945adb686c4d5d366050f5f48cd08958f4e Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Fri, 1 Sep 2017 19:47:52 +1000 Subject: [PATCH] Summon shouldn't reset AFK, fixes #269. --- MCGalaxy/Network/Player.Networking.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/MCGalaxy/Network/Player.Networking.cs b/MCGalaxy/Network/Player.Networking.cs index 4599f6f58..9fef21c31 100644 --- a/MCGalaxy/Network/Player.Networking.cs +++ b/MCGalaxy/Network/Player.Networking.cs @@ -192,6 +192,7 @@ namespace MCGalaxy { useCheckpointSpawn = false; lastCheckpointIndex = -1; + AFKCooldown = DateTime.UtcNow.AddSeconds(2); SendMapMotd(); AccessResult access = level.BuildAccess.Check(this); AllowBuild = access == AccessResult.Whitelisted || access == AccessResult.Allowed;