private void CheckInstanceEmpty() { if (Region.Players.Count > 0) { closetime = TCPManager.GetTimeStamp() + (int)Info.LockoutTimer * 60; } if (closetime < TCPManager.GetTimeStamp()) { Log.Success("Closing Instance", "Instance ID " + ID + " Map: " + Info.Name); Region.Stop(); WorldMgr.InstanceMgr.CloseInstance(this, ID); _running = false; } }